On Sat, May 24, 2008 at 2:28 PM, gypsy <[EMAIL PROTECTED]> wrote: > I downloaded a perl script from http://www.tahina.priv.at/~cm/spam/ and > it logs its activity. I wish to have my logs exclude level 'debug'. > > Things tried: > 1) Contact author -> no reply > 2) Alter syslog.conf "mail.*" to "mail.info" and restart syslogd -> No > Joy > 3) Remove "-d" from the startup parameters -> no logging at all > > Would someone be so kind as to assist me to alter the code I downloaded > so that the logging is as desired? If so, please provide explanation; > I'd prefer to be less of a moron... snip
Hmm, you should at least be seeing results for: mylog('info', 'starting'); and mylog('info', 'terminating (EOF)'); when you don't include -d. I would suggest going through the code and changing mylog('debug', whatever) to mylog('info', whatever) for every message you want to receive (and not using -d) -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/