Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
monitor:syslog [2018/10/14 20:39] – Let's only put syslog-related stuff on the "syslog" page digital manmonitor:syslog [2023/01/23 13:52] (current) – [Monitoring] Example journalctl and systemctl cmd-lines digital man
Line 13: Line 13:
 ===== Monitoring ===== ===== 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. 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   $ tail -f /var/log/sbbs.log
 +
 +If you're using **systemd** to start and control ''sbbs'', you can use ''journalctl'' to monitor the log (with colorized log lines) in real-time:
 +  $ journalctl --follow -u sbbs
 +
 +Another option for systemd systems is to use ''systemctl'' together with ''watch'' to monitor both the service status and log output together in real-time:
 +  $ sudo watch systemctl status sbbs
      
 +An alternative tool to actively monitor log files is the ''lnav'' utility:
 +
 +  $ sudo lnav /var/log/logfile
 + 
 +
 ===== See Also ===== ===== See Also =====
   * [[:monitor:|Monitoring]]   * [[:monitor:|Monitoring]]