Ignore:
Timestamp:
Feb 19, 2009, 4:45:14 PM (15 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
Files:
4 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
  • source/ariba/communication/modules/transport/tcp/TCPTransport.cpp

    r2466 r2467  
    314314
    315315                // send message
    316                 cout << "Sending message ..." << endl;
     316                //cout << "Sending message ..." << endl;
    317317                sendMessage( new TextMessage( "Hello World!" ) );
    318                 cout << "Message sent ..." << endl;
     318                //cout << "Message sent ..." << endl;
    319319
    320320        }
  • source/ariba/communication/modules/transport/tcp/TCPTransport.h

    r2466 r2467  
    4141
    4242// kill protlib logging
    43 //#define _NO_LOGGING
     43#define _NO_LOGGING
    4444
    4545#include "ariba/utility/logging/Logging.h"
Note: See TracChangeset for help on using the changeset viewer.