From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 30 Aug 2007 17:08:44 -0000 Subject: [Cluster-devel] conga/ricci/ricci ClientInstance.cpp Makefile ... Message-ID: <20070830170844.3812.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 --- conga/ricci/ricci/ClientInstance.cpp 2007/08/30 17:07:14 1.8 +++ conga/ricci/ricci/ClientInstance.cpp 2007/08/30 17:08:44 1.9 @@ -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; { --- conga/ricci/ricci/Makefile 2007/08/30 17:07:14 1.20 +++ conga/ricci/ricci/Makefile 2007/08/30 17:08:44 1.21 @@ -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` --- conga/ricci/ricci/RicciWorker.cpp 2007/08/30 17:07:14 1.12 +++ conga/ricci/ricci/RicciWorker.cpp 2007/08/30 17:08:44 1.13 @@ -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);