Eight (8) Log::Log4perl recipes that can be used to enhance debugging, reporting and visibility of your Perl scripts.
The Log::Log4perl is a Perl logging API port of the Log4J Java logging API. It's very comprehensive and is used in a large number of the scripts, tools, and applications that have been developed by Netlinx, Inc. In this article, we provide recipes for the following:
- Initializing Log4perl with a config file vs in-line
- Output messages to file and screen using appenders
- Log events and messages to a database
- Logging messages to Syslog
- Have different applications...