This is an old revision of the document!


Table of Contents

syslog (UNIX)

Synchronet for *nix-like OSes can send its server and services output to your system's syslog facility (e.g. rsyslogd on Debian Linux). When running sbbs as a daemon, syslog-output is automatically enabled. When running sbbs interactively (not daemonized), syslog output can be enabled by passing the syslog command-line option to sbbs:

$ sbbs syslog

Configuring

The syslog functionality is configurable via the LogFacility (default: U) and LogIdent (default: synchronet) values of the [UNIX] section of your ctrl/sbbs.ini file.

You can further configure your syslog output (e.g. directories and filenames) through the setup of your system's syslog facility (e.g. via the /etc/rsyslogd.conf file on Debian Linux).

Monitoring

The syslog output of the Synchronet daemon will usually go to a file in your /var/log directory. You can monitor real-time changes to this file with the tail -f command.

$ tail -f /var/log/messages

or

$ tail -f /var/log/sbbs.log

An alternative way to actively monitor /var/log/syslog

$ sudo lnav /var/log/syslog

See Also

monitor/syslog.1609937469.txt · Last modified: 2021/01/06 04:51 by mortifis
Back to top
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0