conga/ricci/ricci ClientInstance.cpp Makefile ...
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2007-08-30 17:08:44
Modified files:
ricci/ricci : ClientInstance.cpp Makefile RicciWorker.cpp
Log message:
send debugging output to stderr instead of stdout
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/ClientInstance.cpp.diff?cvsroot=cluster&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/Makefile.diff?cvsroot=cluster&r1=1.20&r2=1.21
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/RicciWorker.cpp.diff?cvsroot=cluster&r1=1.12&r2=1.13
ricci/ricci/ClientInstance.cpp +3 -3
@@ -143,12 +143,12 @@ } send(XMLObject("bye")); } catch ( String e ) { - cout << "exception: " << e << endl; + cerr << "exception: " << e << endl; } catch ( ... ) { - cout << "unknown exception" << endl; + cerr << "unknown exception" << endl; } - cout << "request completed in " << time_mil() - beg_mil + cerr << "request completed in " << time_mil() - beg_mil << " milliseconds" << endl; {
ricci/ricci/Makefile +2 -2
@@ -36,8 +36,8 @@ INCLUDE += `pkg-config --cflags dbus-1` -CFLAGS += -O2 -Wall -Wextra -CXXFLAGS += -DDBUS_MAJOR_VERSION="${dbus_major_version}" -DDBUS_MINOR_VERSION="${dbus_minor_version}" -O2 -Wall -Wextra +CFLAGS += +CXXFLAGS += -DDBUS_MAJOR_VERSION="${dbus_major_version}" -DDBUS_MINOR_VERSION="${dbus_minor_version}" LDFLAGS += `pkg-config --libs dbus-1`
ricci/ricci/RicciWorker.cpp +2 -2
@@ -72,9 +72,9 @@ batch.process(); exit(0); } catch (String e) { - cout << "exception: " << e << endl; + cerr << "exception: " << e << endl; } catch ( ... ) { - cout << "unknown exception" << endl; + cerr << "unknown exception" << endl; } exit(2);