Hi Abid, On Fri, 18 May 2012 19:39:39 +0300 Abid Khwaja <a...@tyrann.net> wrote:
> 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? > I read the MetaCPAN page for Tie::Syslog and it appears to not had a release since 2002 and it has two open 3-year old bugs. Maybe you should use a better maintained module. There are plenty in this search: https://metacpan.org/search?q=syslog Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ My Favourite FOSS - http://www.shlomifish.org/open-source/favourite/ Duplicate effort in FOSS is inevitable. Live with it. Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/