Application Management

Disable logging linux system's syslog in Papertrail

This article shows how to disable system's syslog in unix/linux.

First published date

8/13/2021 3:45 PM

Last published date

8/20/2021 2:10 PM

Overview

In some cases, we need to disable the system's syslog if logging messages from a syslog are no longer needed. 

Product section

Papertrail

Resolution

  1. Access your Linux source machine
  2. Run: 
    ls -d /etc/*syslog*.
  3. Locate the /etc/rsyslog.conf or /etc/syslog.conf file.
  4. Edit /etc/rsyslog.conf or /etc/syslog.conf with a text editor (like pico or vi).
  5. Comment out the *.*                       @logsN.papertrailapp.com:XXXXX
    by adding # then save.
    • Example:
      # *.*                       @logsN.papertrailapp.com:XXXXX
  6. Restart your syslog service.
    • To restart, run: 
      sudo service rsyslog restart