logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: log4cxx - Default Initialization Procedure - is implemented somewhere?: msg#00070

Subject: Re: log4cxx - Default Initialization Procedure - is implemented somewhere?

On Dec 17, 2004, at 10:03 AM, mgr Jan Obdrzalek wrote:

On the page
http://logging.apache.org/log4cxx/manual/ Introduction.html#DefaultInitializationProcedure is written some algorithm. I tryed to find implementation of it, but failed.

Is this algorithm implemented somewhere or am I supposed to write it myself in
every program which uses log4cxxx?

(I can write it myself, but I would rather use standartized way, than
reimplement it in not so professional way I did just now.)


The algorithm is implemented in src/logmanager.cpp and has unit tests. The algorithm is described in detail so that you know what to expect when using default configuration and how to control its behavior. Generally, none of the environment variables would be set, so it would just look for log4j.properties in the current working directory.




<Prev in Thread] Current Thread [Next in Thread>