Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
trying to "use Sys::Syslog" but I get nothing ...
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="terry l. ridder, post: 4781823"] on my computers they end up in /var/log/messages that depends on /etc/syslog.conf under perl 5.6 syslog returned the number of bytes written to the log. i thought that it may be a quirk in perl 5.6 so i fired up an old computer that has perl 5.6 installed and tired the code snippet you provided. it worked. the tests ended up in /var/log/messages. Jan 25 12:18:22 strauss audit: this is a test Jan 25 12:18:33 strauss audit: this is also a test. Jan 25 12:18:40 strauss audit: this is a 3rd test. at this point i fall back to my original guess: 0. the msgs are being logged but not where you think/want them logged. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
trying to "use Sys::Syslog" but I get nothing ...
Top