Skip to main content

Logging in Perl

For months now, my learning curve of Perl had completely flattened, in spite of the infinite richness of the language and my low knowledge-level of it. Finally, the problem of efficiently monitoring my KeepInTouch and SellerBay production usage apps are addressed in Log4Perl, seems to offer the next skill-upgrade opportunity in Perl.

Log4Perl is an easy, sophisticated, and everything-in-between logging API to Perl applications. Among it's capabilities:
  • log to a log-file of your choice, or to STDOUT, or to STDERR
  • dispatch emails for certain application runtime conditions
  • configuration in an external conf-file, or inline in code
  • ... much more ...
I'm mainly keen to monitor scripts run by my cronjobs, whose performance I'm unable to track on a daily basis otherwise.