derp fix some stuff and release 0.0.2

This commit is contained in:
Zane C. B-H 2021-11-27 09:06:53 -06:00
parent 0084fe4bd8
commit 09e394c3c8
4 changed files with 13 additions and 31 deletions

View File

@ -1,4 +1,8 @@
Revision history for File-Syslogger
0.0.2 2021-11-27/09:05
-Actually update the README.
-Correct switches in POD for the script.
0.0.1 2021-11-27/09:00
-Initial release.

12
README
View File

@ -1,16 +1,6 @@
File-Syslogger
The README is used to introduce the module and provide instructions on
how to install the module, any machine dependencies it may have (for
example C compilers and installed libraries) and any other information
that should be provided before the module is installed.
A README file is required for CPAN modules since CPAN extracts the README
file from a module distribution so that people browsing the archive
can use it to get an idea of the module's uses. It is usually a good idea
to provide version information here so that people can decide whether
fixes for the module are worth downloading.
Tail the specified files and read new lines into syslog.
INSTALLATION

View File

@ -100,27 +100,11 @@ filesyslogger - Tails the configured files and sends it to syslog.
=head1 SYNOPSIS
filesyslogger [B<-P> <program>] [B<-p> <priority>] [B<-f> <facility>] [B<-t> <config>] [B<-s> <socket>]
filesyslogger [B<-c> <config>]
=head1 FLAGS
=head2 -P <program>
The program name to use. If not specified, 'fileSyslogger' is used.
=head2 -p <priority>
The priority to use. If not specified, 'notice' is used.
=head2 -f <facility>
The facility to use. If not specified, 'daemon' is used.
=head2 -s <socket>
The socket to use. If not specified, '/var/run/log' is used.
=head2 -t <config file>
=head2 -c <config file>
This is the config file to use. If not specified, '/usr/local/etc/filesyslogger.toml' is used.
@ -149,6 +133,8 @@ and forward to syslog. It uses the same keys as above, minus
'socket', but with the additional key 'file' for specifying
what file.
File rotation is picked up automatically via POE::Wheel::FollowTail.
For priority, below are the various valid values.
emerg

View File

@ -13,11 +13,11 @@ File::Syslogger - Use POE to tail a file and read new lines into syslog.
=head1 VERSION
Version 0.0.1
Version 0.0.2
=cut
our $VERSION = '0.0.1';
our $VERSION = '0.0.2';
=head1 SYNOPSIS
@ -94,6 +94,8 @@ For facility, below are the various valid values.
local6
local7
File rotation should be picked up POE::Wheel::FollowTail.
=cut
sub run {