Ignore:
Timestamp:
Mar 9, 2010, 1:23:20 PM (15 years ago)
Author:
stud-florian
Message:

Added support for compiling without log4cxx. If log4cxx is not present, all logging is sent directly to stdout.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/system/StartupWrapper.cpp

    r5993 r7727  
    3939#include "StartupWrapper.h"
    4040#include "ariba/config.h"
     41
     42#ifdef HAVE_LOG4CXX_LOGGER_H
     43#include <log4cxx/logger.h>
     44#include <log4cxx/basicconfigurator.h>
     45#endif // HAVE_LOG4CXX_LOGGER_H
    4146
    4247namespace ariba {
     
    9398        // configure the logging
    9499        //
    95 
     100       
     101#ifdef HAVE_LOG4CXX_LOGGER_H
    96102        log4cxx::BasicConfigurator::configure();
    97103
     
    109115        }
    110116#endif //HAVE_MAEMO
     117#endif //HAVE_LOG4CXX_LOGGER_H
    111118}
    112119
Note: See TracChangeset for help on using the changeset viewer.