Changeset 2467 for source/ariba/communication
- Timestamp:
- Feb 19, 2009, 4:45:14 PM (16 years ago)
- Location:
- source/ariba/communication/modules/transport
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/modules/transport/protlib/logfile.cpp
r2466 r2467 119 119 if (logstream && !quiet) 120 120 { 121 (*logstream) << color[blue] << timenow() << '[' << getpid() << "] Redirecting Log output to \"" << filename << '\"' << endl;122 (*logstream) << color[blue] << timenow()123 << '[' << getpid() << "] <<<<<<<<<<<<<<<<<<<<<<<< *** LOG STOP *** <<<<<<<<<<<<<<<<<<<<<<<<"124 << color[off] << endl;121 // (*logstream) << color[blue] << timenow() << '[' << getpid() << "] Redirecting Log output to \"" << filename << '\"' << endl; 122 // (*logstream) << color[blue] << timenow() 123 // << '[' << getpid() << "] <<<<<<<<<<<<<<<<<<<<<<<< *** LOG STOP *** <<<<<<<<<<<<<<<<<<<<<<<<" 124 // << color[off] << endl; 125 125 } 126 126 … … 144 144 else 145 145 { 146 (*logstream) << color[blue] << timenow()147 << '[' << getpid() << "] >>>>>>>>>>>>>>>>>>>>>>>> *** LOG START *** >>>>>>>>>>>>>>>>>>>>>>>>"148 << color[off] << endl;146 // (*logstream) << color[blue] << timenow() 147 // << '[' << getpid() << "] >>>>>>>>>>>>>>>>>>>>>>>> *** LOG START *** >>>>>>>>>>>>>>>>>>>>>>>>" 148 // << color[off] << endl; 149 149 } 150 150 return true; -
source/ariba/communication/modules/transport/protlib/logfile.h
r2466 r2467 31 31 32 32 33 //#define _NO_LOGGING33 #define _NO_LOGGING 34 34 35 35 #include <fstream> // file stream … … 243 243 if (!quiet_start && logstream) 244 244 { 245 (*logstream) << color[blue] << timenow()246 << '[' << getpid() << "] >>>>>>>>>>>>>>>>>>>>>>>> *** LOG START *** >>>>>>>>>>>>>>>>>>>>>>>>"247 << color[off] << endl;245 // (*logstream) << color[blue] << timenow() 246 // << '[' << getpid() << "] >>>>>>>>>>>>>>>>>>>>>>>> *** LOG START *** >>>>>>>>>>>>>>>>>>>>>>>>" 247 // << color[off] << endl; 248 248 } 249 249 pthread_mutex_unlock(&logmutex); … … 260 260 261 261 if ( ! quiet_start ) 262 (*logstream) << color[blue] << timenow() << '[' << getpid()263 << "] <<<<<<<<<<<<<<<<<<<<<<<< *** LOG STOP *** <<<<<<<<<<<<<<<<<<<<<<<<"264 << color[off] << endl;262 // (*logstream) << color[blue] << timenow() << '[' << getpid() 263 // << "] <<<<<<<<<<<<<<<<<<<<<<<< *** LOG STOP *** <<<<<<<<<<<<<<<<<<<<<<<<" 264 // << color[off] << endl; 265 265 pthread_mutex_unlock(&logmutex); 266 266 -
source/ariba/communication/modules/transport/tcp/TCPTransport.cpp
r2466 r2467 314 314 315 315 // send message 316 cout << "Sending message ..." << endl;316 //cout << "Sending message ..." << endl; 317 317 sendMessage( new TextMessage( "Hello World!" ) ); 318 cout << "Message sent ..." << endl;318 //cout << "Message sent ..." << endl; 319 319 320 320 } -
source/ariba/communication/modules/transport/tcp/TCPTransport.h
r2466 r2467 41 41 42 42 // kill protlib logging 43 //#define _NO_LOGGING43 #define _NO_LOGGING 44 44 45 45 #include "ariba/utility/logging/Logging.h"
Note:
See TracChangeset
for help on using the changeset viewer.