If you are lucky enough to be running Apache under both Linux and Win32,Apache::Log is a good interface Apache's logging mechanism, and works on both platforms. If that doesn'nt work, you could wrap an if statement like the one
below around all of your critical logs. It will keep them in a central location to the system that the sysadmins are always diligently monitoring.
if (`uname` =~ /Linux/) {
# do Sys::Syslog stuff here
} elseif (`set os` =~ /windows/i) {
# do Win32::EventLog stuff here
} else { die "hmmm, where do I log\n" }
Of course, it would be smart to wrap this into
Jepri's
mylog::log example to save some keystrokes.