Tag: syslog

  • Syslog message routing on Linux

    Create new file (if needed) in /etc/rsyslog.d (file’s name should end in .conf). Make sure to add following line to it: if $programname == ‘PROGRAM_NAME’ then /var/log/debug.log if you don’t want this message to go anywhere else, add “& stop” in a separate line after it. If messages go to custom file, don’t forget to…