Changeset 9737 for source/ariba/utility/system
- Timestamp:
- Apr 7, 2011, 4:36:00 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/system/StartupWrapper.cpp
r7916 r9737 41 41 42 42 #ifdef HAVE_LOG4CXX_LOGGER_H 43 #include <log4cxx/logger.h>44 #include <log4cxx/basicconfigurator.h>43 #include <log4cxx/logger.h> 44 #include <log4cxx/basicconfigurator.h> 45 45 #endif // HAVE_LOG4CXX_LOGGER_H 46 46 … … 96 96 // init the logging system 97 97 // 98 // configure the logging 99 // 100 98 101 99 #ifdef HAVE_LOG4CXX_LOGGER_H 102 100 log4cxx::BasicConfigurator::configure(); 101 #endif //HAVE_LOG4CXX_LOGGER_H 103 102 104 // set the global log level to warning 105 { 106 log4cxx::LoggerPtr logger(log4cxx::Logger::getRootLogger()); 107 logger->setLevel(log4cxx::Level::getInfo()); 108 } 103 // 104 // configure the default logging level to info 105 // 109 106 110 // set up again an individual level if you like 111 #ifndef HAVE_MAEMO 112 { 113 //log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger("MCPO")); 114 //logger->setLevel(log4cxx::Level::getDebug()); 115 } 116 #endif //HAVE_MAEMO 117 #endif //HAVE_LOG4CXX_LOGGER_H 107 logging_rootlevel_info(); 118 108 } 119 109
Note:
See TracChangeset
for help on using the changeset viewer.