In my application there are few custom scripts, which are run by the cron daemon. I plan to implement some sort of activity/error log for each of these scripts.
Currently, for all errors and any high level activity (such as: deleting unused files etc), I do a:
My manager wants a neater solution. So I looked up cpan and found log4perl module. I have couple of questions on using it.
As I understand, the log4perl will open a file handle to a log file and write into it. Some of the scripts, are run frequently and there might be cases of same script running as more than one process. In case of multiple processes, I fear the log file will be corrupted. Are my fears unfounded ?
Also I would like your suggestion on other logger module(s).