Hi Y'all,

I'm new to mod_perl, please forgive me if this is already well known
info.

I have several different web scripts like:

if($UseLog) {
  Sys::Syslog::setlogsock('unix');
  openlog("$WebScriptName", 'pid', 'daemon');
  syslog('info', "$WebScriptName starting");
}
...
syslog('info', "Message"); # Actually buried in a subroutine
...

Originally, if $UseLog was false for an invocation of the script,
the "Message" would not appear in the syslog.

When I turned on mod_perl, sometimes I found "Message" appearing,
but under a different script's name.

So: mod_perl is somehow saving the socket state between runs of
webscripts, right?

Is it doing what it is supposed to be doing? Is there anything
wrong with what I am doing?

And most important - is there any other area that has the same or
similar behavior?

Thanks,

j

-- 
John Gateley <[EMAIL PROTECTED]>

Reply via email to