Ignore:
Timestamp:
Feb 19, 2009, 4:45:14 PM (16 years ago)
Author:
Christoph Mayer
Message:

-logging farben über ./configure --enable-logcolors=yes einschaltbar, sonst per default ausgeschalten
-alls std::cout auskommentiert

Location:
source/ariba/communication/modules/transport/protlib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/communication/modules/transport/protlib/logfile.cpp

    r2466 r2467  
    119119  if (logstream && !quiet)
    120120  {
    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;
    125125  }
    126126
     
    144144  else
    145145  {
    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;
    149149  }
    150150  return true;
  • source/ariba/communication/modules/transport/protlib/logfile.h

    r2466 r2467  
    3131
    3232
    33 //#define _NO_LOGGING
     33#define _NO_LOGGING
    3434
    3535#include <fstream> // file stream
     
    243243    if (!quiet_start && logstream)
    244244    {
    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;
    248248    }
    249249    pthread_mutex_unlock(&logmutex);
     
    260260
    261261    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;
    265265    pthread_mutex_unlock(&logmutex);
    266266
Note: See TracChangeset for help on using the changeset viewer.