logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

RE: Custom Level/Priority: msg#00003

Subject: RE: Custom Level/Priority
On Wed, 4 Jan 2006, Anthony Chee wrote:

> It mentioned create_custom_level can be put in configuration file. I would
> like to know what's the syntax?

It says that "These levels can also be *used* in your config file", which means
you define them (in Perl) before you call Log::Log4perl::init(...) in
your code. Levels defined before init() can then used in the config file.

-- Mike

Mike Schilli
m@xxxxxxxxxxxxxxx


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click


<Prev in Thread] Current Thread [Next in Thread>