You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by Tommi Mäkitalo <to...@epgmbh.de> on 2004/12/18 11:31:10 UTC

debug-messages in propertyconfigurator.cpp

Hi,

The propertyconfigurator from current CVS prints some debugmessages from 
prpertyconfigurator.cpp. I have a very simple case:

#include <log4cxx/basicconfigurator.h>

int main(int argc, char* argv[])
{
  log4cxx::BasicConfigurator::configure();
}

I have a log4j.properties in my current dir. I get this output:

Using configuration file [log4j.properties] for automatic log4cxx 
configuration
Parsing for [root] with value=[WARN, F].
Level token is [WARN].
OptionConverter::toLevel: no class name specified, level=[WARN]
Logger root set to WARN
Parsing appender named
F".
Parsing layout options for "F".
End of parsing for "F".
Setting option name=[File], value=[log.log]
Parsed "F" options.
Parsing for [bench] with value=[INFO].
Level token is [INFO].
OptionConverter::toLevel: no class name specified, level=[INFO]
Logger bench set to INFO
Handling log4j.additivity.bench=[]
Parsing for [log.ns] with value=[DEBUG].
Level token is [DEBUG].
OptionConverter::toLevel: no class name specified, level=[DEBUG]
Logger log.ns set to DEBUG
Handling log4j.additivity.log.ns=[]
Finished configuring.


Tommi