Judith Lebzelter > Sys-SyslogMessages-0.01 > Sys::SyslogMessages

Download:
Sys-SyslogMessages-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.01   Source   Latest Release: Sys-SyslogMessages-0.02

NAME ^

Sys::SyslogMessages - Figure out where syslog is and copy or tail it.(on Linux)

SYNOPSIS ^

    use Sys::SyslogMessages;

    $linux = new Sys::SyslogMessages({'output_file' => 'syslog.tail'});
    $linux->tail({'number_lines' => '500'});
    $linux->copy({'output_file' => 'syslog.log'});

DESCRIPTION ^

This is a simple module that finds the system logfile on Linux is and can copy it or tail it to a file. It works for syslogd or syslog-ng.

TODO ^

Be able to save various categories of logs, i.e. kern.* mail.*. Add copy dmsg support. Tail syslog from a particular time or since last reboot. Check for any other sys-logger options besides syslogd or syslog-ng.

AUTHORS ^

Judith Lebzelter, <judith@osdl.org>

COPYRIGHT AND LICENSE ^

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.