No logging in Solaris 9 (with workaround) - question?
Julian Field
MailScanner at ecs.soton.ac.uk
Tue Sep 12 08:38:00 IST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
René Berber wrote:
> René Berber wrote:
> [snip]
>
>> eval {
>> # if ($^O !~ /solaris|sunos|irix/i) {
>> Sys::Syslog::setlogsock('udp');
>> # } # else {
>>
> [snip]
>
> My mistake, even if it works as shown above I should have changed it like this (I'm not sure about Irix or SunOS so it may still be wrong):
>
> eval {
> if ($^O !~ /solaris|sunos|irix/i) {
> Sys::Syslog::setlogsock('unix');
> } else {
> Sys::Syslog::setlogsock('udp');
> }
> }
>
Can other Solaris users comment on this please?
- --
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.5.0 (Build 1112)
Comment: (pgp-secured)
Charset: ISO-8859-1
wj8DBQFFBmPYEfZZRxQVtlQRAjvgAJ4l7MRQkRTpgaAiR2Lmu2LUy0E1UwCdGJd2
Cwz4+e4d2y5CmMm/RvyAyrg=
=C805
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk
More information about the MailScanner
mailing list