[med-svn] [aghermann] 20/24: mw.cc: please use log facility

andrei zavada hmmr-guest at moszumanska.debian.org
Mon Jun 15 01:48:26 UTC 2015


This is an automated email from the git hooks/post-receive script.

hmmr-guest pushed a commit to branch WIP
in repository aghermann.

commit b4deedb26e10e56af755574e75f5872a0042ab1e
Author: Andrei Zavada <hmmr at ra>
Date:   Sun Jun 14 23:11:54 2015 +0300

    mw.cc: please use log facility
---
 upstream/src/aghermann/ui/mw/mw.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/upstream/src/aghermann/ui/mw/mw.cc b/upstream/src/aghermann/ui/mw/mw.cc
index b228cc5..b821d64 100644
--- a/upstream/src/aghermann/ui/mw/mw.cc
+++ b/upstream/src/aghermann/ui/mw/mw.cc
@@ -83,8 +83,8 @@ create_cprofile()
                 tl_start = csubject.measurements[*_p._p._AghDi].episodes.front().start_rel;
         } catch (...) {  // can be invalid_argument (no recording in such session/channel) or some TSimPrepError
                 cprofile = nullptr;
-                fprintf( stderr, "SSubjectPresentation::SSubjectPresentation(): subject \"%s\" has no recordings in session \"%s\" channel \"%s\"\n",
-                         csubject.id.c_str(), _p._p.AghD(), _p._p.AghT());
+                APPLOG_WARN ("SSubjectPresentation::SSubjectPresentation(): subject \"%s\" has no recordings in session \"%s\" channel \"%s\"\n",
+                             csubject.id.c_str(), _p._p.AghD(), _p._p.AghT());
         }
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/aghermann.git



More information about the debian-med-commit mailing list