logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Schuetze <schue...@geoinform.fh-mainz.de>
Subject Need advice for class logging
Date Fri, 02 Dec 2005 16:55:57 GMT

I tried to log different class with e.g. the level "info". But the 
logger logs on the basic level. I've no idea what I'm doing wrong. I 
need somebodies help.

I've defined the logger as a private static variable in the header file.
In my CPP file I get the instance of my logger as follow:

log4cxx::LoggerPtr XMLParser::logger = 

I'm using the DOMConfigurator to configure and defined within the XML 
file the logger as follow:

   <logger name="limez">
     <level value="info" />

     <priority value ="debug" />
     <appender-ref ref="stdout" />


View raw message