Hi: I am trying to use the following lines in a
program where I want to log syslog messages.
==========
openlog($zone, 'ndelay','local7');
syslog('debug', $log);
closelog;
==========

But the function openlog takes 30-40 seconds to
complete. Any idea why it takes this long and also if
there is a way to make it log immediately? If I run
the logger command from the shell prompt, it logs
immediately.

TIA
Ravi

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to