Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: log file in Log4perl

by ferreira (Chaplain)
on Jan 12, 2007 at 12:07 UTC ( [id://594365]=note: print w/replies, xml ) Need Help??


in reply to Re^2: log file in Log4perl
in thread log file in Log4perl

In the piece of code you mentioned, you are not writing Perl code but a properties file (with lines "key = value") which is read by this statement:

Log::Log4perl::init_and_watch('/etc/log4perl.conf',5);

The value can be extended for many lines if they end in "\". There is more info in the FAQ within Log-Log4perl distribution.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://594365]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-29 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found