in reply to Numeric values required in Unix::Syslog?

,

Maybe try this:

syslog (@{[ LOGINFO ]}, "[$$] started and daemonised");
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.

Regards...Ed

"Well done is better than well said." - Benjamin Franklin