CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: Re: [BillKSmith] log4perl seems not to work as advertised: Edit Log



zatlas1
Novice

Mar 20, 2012, 7:12 AM


Views: 7212
Re: [BillKSmith] log4perl seems not to work as advertised

$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)


Edit Log:
Post edited by zatlas1 (Novice) on Mar 20, 2012, 7:18 AM
Post edited by zatlas1 (Novice) on Mar 20, 2012, 7:19 AM
Post edited by zatlas1 (Novice) on Mar 20, 2012, 7:20 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives