From: Mike S. <m...@pe...> - 2011-07-26 16:11:04
|
On Tue, 26 Jul 2011, Robert Rothenberg wrote: > I've tried changing the threshold for the shared log to INFO > log4perl.appender.SharedLog.Treshold = INFO If you fix the typo ("Treshold" => "Threshold"), that's exactly the recommended way to accomplish what you want. -- -- Mike Mike Schilli m...@pe... > > but the DEBUG messages still get added to it. > > I've also tried using a subcategory: > > log4perl.logger.mytool = INFO, SharedLog > log4perl.logger.mytool.debug = DEBUG, DebugLog > > and then using > > $logger = get_logger("mytool.debug"); > > but still the DEBUG messages show up in the SharedLog. > > Thanks in advance, > Rob > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > log4perl-devel mailing list > log...@li... > https://lists.sourceforge.net/lists/listinfo/log4perl-devel > |