The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

xas-logmon - the control program for file monitors

SYNOPSIS

xas-logmon [--help] [--debug] [--manual] [--version]

options:
  --help         outputs simple help text
  --manual       outputs the procedures manual
  --version      outputs the apps version
  --debug        toogles debugging output
  --alerts       toogles alert notifications
  --log-file     name of the log file 
  --log-type     toggles the log type
  --log-facility changes the log facility
  --cfg-file     the configuration file to use
  --pid-file     the pid file to use

DESCRIPTION

This procedure runs as a service and launches log file monitors. It will keep those monitors running should they exit.

CONFIGURATION

Please refer to XAS::Apps::Logmon::Monitor for configuration file information.

OPTIONS AND ARGUMENTS

--help

Displays a simple help message.

--debug

Turns on debbuging.

--alerts

Togggles alert notification.

--log-type

Toggles the log type. Defaults to 'console'. Can be 'console', 'file', 'json' or 'syslog'.

--log-facility

Toggles the log facilty. Defaults to 'local6'. This follows syslog convention.

--log-file

Optional log file. When specified the log type is set to 'file'.

--cfg-file

Optional config file. Defaults to $XAS_ETC/xas-logmon.ini.

--pid-file

Optional pid file. Defautls to $XAS_RUN/xas-logmon.pid.

--manual

The complete documentation.

--version

Prints out the apps version

EXIT CODES

0 - success
1 - failure

SEE ALSO

XAS::Apps::Logmon::Monitor
XAS::Logmon
XAS

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

Copyright (c) 2012-2015 Kevin L. Esteb

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.