Note: This version of the VDT (1.7.1) is no longer supported. Feel free to look through the documentation and install it, but we cannot guarantee support for it. The current stable release is 2.0.0.

configure_syslog_ng

configure_syslog_ng - syslog-ng configuration script

Synopsis

    configure_syslog_ng --server <y,n>
                        --user <Syslog-ng user>
                        --add-source <log file path> [--add-source <log file path> ...]
                        --remove-source <log file path> [--remove-source <log file path> ...]
                        --central-host <host[:port]>
                        --reset
                        --vdt-install <VDT installation root>
                        --help
                        --usage

Description

--server <y,n>
For y install the syslog-ng init script in /etc/init.d, make appropriate run level links and start the server. For n remove any existing syslog-ng init from /etc/init.d.
--user <Syslog-ng user>
By default Syslog-ng will be configured to run as the daemon user. You can specify an alternative with the --user flag.
--add-source <log file path>
Add a source for syslog to watch. The argument should be the full path to the log for syslog-ng to monitor: e.g. --add-source /vdt/globus/var/container-real.log
--remove-source <log file path>
Remove a source from the conf file.
--central-host <host[:port]>
Change the central logging host. If port is not supplied, the previously used port will be kept.
--reset
Restore the original (empty) configuration files. Cannot be used with --add-source, --remove-source, or --central-host
--vdt-install <VDT installation root>
configure_syslog_ng will look for the root of the VDT installation at $VDT_LOCATION. If you do not have that set you can specify it with --vdt-install instead.
--help, --usage
Print a usage message.