Note: This version of the VDT (1.7.0) 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 --add-source "<source> <log file path>" [--add-source "<source> <log file path>" ...]
                        --remove-source <source> [--remove-source <source> ...]
                        --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.
--add-source "<source> <log file path>"
Add a source for syslog to watch. The argument must contain both pieces of information, and put in quotes: e.g. --add-source "/tmp/wsgram /vdt/globus/var/container-real.log"
--remove-source <source>
Remove a source from the conf file and log_settings.ini files.
--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.