develooper Front page | perl.perl5.porters | Postings from April 2000

perl-5.6 Sys::Syslog

Thread Next
From:
Steven Lembark
Date:
April 24, 2000 10:03
Subject:
perl-5.6 Sys::Syslog
Message ID:
390478DE.5ECC724B@wrkhors.com

no access to news, only email.


given /etc/syslog.conf:

	local6.debug	/var/log/junk

running w/ perl-5.6:

	use Sys::Syslog;
	openlog 'foo', 'ndelay', 'local6';
	syslog 'err', 'foo';

should give me a message in /var/log/junk, methinks?  checked
that syslog is up and using the file by removing /var/log/junk
and restarting the syslog deamon and noticing that the file now
exists again.  also get messages for other files (e.g., var log
messages).

also checked that the .ph files exist:

	$ find /opt/perl5/lib/ -name "syslog.ph"
	/opt/perl5/lib/site_perl/5.6.0/i686-linux-64all/usr/include/syslog.ph
	/opt/perl5/lib/site_perl/5.6.0/i686-linux-64all/usr/include/sys/syslog.ph

are non-empty, etc.

anything else you can think of that would be a useful check?

thanx,

 Steven Lembark                                   2930 W. Palmer St.
                                                 Chicago, IL  60647
 lembark@wrkhors.com                                   800-762-1582

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About