- edit
/etc/rsyslog.d/50-default.conf
inserting commands ( see below ) service rsyslog restart
Example: strip from log all messages that cames from "gnome-shell" program
:programname, contains, "gnome-shell" ~
:msg, contains, "somemessage" ~
/etc/rsyslog.d/50-default.conf
inserting commands ( see below )service rsyslog restart
Example: strip from log all messages that cames from "gnome-shell" program
:programname, contains, "gnome-shell" ~
:msg, contains, "somemessage" ~