
zatlas1
User
Mar 20, 2012, 7:12 AM
Post #3 of 5
(8766 views)
|
Re: [BillKSmith] log4perl seems not to work as advertised
[In reply to]
|
Can't Post
|
|
$config actually exists and is correct my $config = $ENV{'CONFIGPATH'}; the string $\/testRotate\.conf is obviously a mistake (I left a code from previous attempt to resolve the issue) so the correct line is: Log::Log4perl::init( "$config\/testRotate\.conf" ); which corretly points to the configuration file above. BTW, I tried with and without the 'easy' option, with and without the 'INFO' instead of $logger->info, etc. None changed the behavior of ignoring the 'size' and 'max' attributes in the configuration file. log4perl still appears not to be working as advertised!!! Thanks ZA
(This post was edited by zatlas1 on Mar 20, 2012, 7:20 AM)
|