Logs as localhost

shuttlebox shuttlebox at gmail.com
Sat Oct 14 18:19:48 IST 2006


On 10/14/06, René Berber <r.berber at computer.org> wrote:
> It's a known bug/feature on Solaris, there's even a bug report about this for
> Sys::Syslog.
>
> I have changed it to report in the normal format, just change a couple of lines
> in MailScanner/lib/MailScanner/Log.pm :
>
> line 39 -
> use Sys::Syslog qw(:DEFAULT setlogsock);
>
> line 71 -
>         Sys::Syslog::setlogsock('native');

It happens with Solaris 9 also. I tested native but changed it back to
save space, I feel no need to see the id and log level on every line
and it increases the chance of getting a truncated log line.

-- 
/peter


More information about the MailScanner mailing list