Changeset 2467 for source/ariba/communication/modules/transport/protlib
- Timestamp:
- Feb 19, 2009, 4:45:14 PM (16 years ago)
- Location:
- source/ariba/communication/modules/transport/protlib
- Files:
-
- 2 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
Note:
See TracChangeset
for help on using the changeset viewer.