logger.pl

can tail log file and send the content to syslog


usage

    logger.pl -f <your_file_to_log_to_syslog> -p <pid_file> -i <prefix to syslog entries>
    -u <userid>
    -d will print to sdout too
    NO -f will get stdin : useful to test : won't daemonize either
    -s syslog facility (local5)
    -l syslog level (debug)


prerequesiteries

    apt-get install libunix-syslog-perl libfile-tail-perl


download

here


examples

logger.pl -f


todo

\0 ? syslog-ng package is in proposed-stable i believe. see querybts


copyright/contact

here