mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
logmngr: simplify default PID to 0 logic
Note that the "add" directive only adds if nothing is already present.
(cherry picked from commit 580d24e04a)
This commit is contained in:
parent
53a6bd9304
commit
60d395923d
1 changed files with 3 additions and 4 deletions
|
|
@ -75,14 +75,13 @@ create_default_filters() {
|
||||||
append_conf " match KM*"
|
append_conf " match KM*"
|
||||||
append_conf " add ident kernel"
|
append_conf " add ident kernel"
|
||||||
append_conf " rename msg message"
|
append_conf " rename msg message"
|
||||||
append_conf " set pid 0"
|
|
||||||
append_conf ""
|
append_conf ""
|
||||||
|
|
||||||
append_conf "[FILTER]"
|
append_conf "[FILTER]"
|
||||||
append_conf " name modify"
|
append_conf " name modify"
|
||||||
append_conf " match SL*"
|
append_conf " match *"
|
||||||
append_conf " Condition Key_Does_Not_Exist pid"
|
append_conf " add pid 0"
|
||||||
append_conf " Add pid 0"
|
append_conf ""
|
||||||
|
|
||||||
append_conf "[FILTER]"
|
append_conf "[FILTER]"
|
||||||
append_conf " name sysinfo"
|
append_conf " name sysinfo"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue