|
From: Scott M <sm...@ya...> - 2003-09-03 18:58:22
|
Uh, anyone out there? - Scott --- Scott M <sm...@ya...> wrote: > I'm building a library (UNIX .so, but that shouldn't matter) which uses > log4cpp. Clearly I want my library to work with old apps which don't use > log4cpp, as well as new log4cpp-based apps. > > How do I configure log4cpp for my library? I'd like to have a separate > lib.conf file, which I load at lib load time. Problem is it looks like > PropertyConfigurator is static (global) per process, so any other > libraries > or the app itself has the potential of overwritting my settings. Is this > true? > > Do multiple PropertyConfigurator::configure() calls (within the same > process) complement each other? That is, they are additive, so each > component can configure itself without fear of corrupting other > components' > log4cpp setup? > > Thanks, > > - Scott > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Log4cpp-devel mailing list > Log...@li... > https://lists.sourceforge.net/lists/listinfo/log4cpp-devel __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |