I’m running Perl 5.8.8 on AIX 6.1. Given the following:
use Tie::Syslog;
tie *SENDSYSLOG, 'Tie::Syslog', 'local0.err’;
select SENDSYSLOG;
$|++;
print …
What’s logged to syslog is:
May 18 11:51:39 localhost local0:err|error …
All other logged items give the actual host name instead of “localhost” - how
can I get Tie::Syslog and/or perl to output the actual host name to syslog?
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/
