in reply to Numeric values required in Unix::Syslog?
Maybe try this:
What I do is create a 'sub' that is called with the message and debug level, that way if I'm in test mode I get all the errors, and in production only important errors. The 'sub' adds the pid ($$) to the error message.syslog (@{[ LOGINFO ]}, "[$$] started and daemonised");
Regards...Ed
"Well done is better than well said." - Benjamin Franklin
|
|---|