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.



Ashant said…
Having tried Log4Perl a bit in a CLI script as well as a web-script, this method is showing potential to improve the quality level of the whole package.

This is a direct result of the increased visibility logging offers into the runtime performance of the script under typical usage conditions.

Popular posts from this blog

Paypal's Ridiculous Business Practices

In Q3-2005 we discovered the power of online sales and started to market Wapsol's products extensively online. Just as importantly we decided to get into the trading business for WLAN accessories (antennae, cable, connectors etc) which entails buying from manufacturers and selling on online-retail. Needless to say ebay's 26 worldwide markets were lucrative points of sales.

We used Paypal for collecting most of payments from customers outside Germany. The numbers ticked up fast and we were hecticly building up infrastructure for shipping, online-support, product-portfolio and payment-systems.

One morning as I woke up in Germany I found that Paypal decided to lock up our account without any specific reason. There were no disputes or complaints from buyers or anything that suggested provocation. They just locked it. In it a few thousands of dollars of cash-flow and the account was listed as a favored payment option for some 100 pending auctions - now customers couldn't pay for …

The Dream of the Information Age

If this beauty of a device meets it's mission of being owned by every kid on the planet, we are looking to a new dimension of the Information Age.
For full profile of the device, visit BBC's technology page.

SnagIT Problem Solved! (Hangs for minutes)

Here's the solution to the SnagIT sluggishness (hangs for several minutes)
I would try first turning off the magnifier window under tools > program preferences > program options. Uncheck the box to show magnifier windows. Click apply > ok and then try the capture again.Check your security software and make sure that Snagit is set as a safe application. A security program that consistently scans the process will cause a very slow response like you are seeing.Please also check your printers per this article:Answer Title: Slow SnagIt startupAnswer Link:, please review the steps here and try these as well:Answer Title: SnagIt crashes or hangs when launchedAnswer Link: me know what happens.