journalwatch config

This commit is contained in:
Daniel Langbein 2023-09-18 15:45:26 +02:00
parent 29a2cd5c8e
commit 69f82b1e7f
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -38,68 +38,73 @@
# `filters` are always regular expressions. # `filters` are always regular expressions.
# All regular expressions have to match the full string! # All regular expressions have to match the full string!
filterBlocks = [ filterBlocks = [
{ { # yodaTux
filters = '' filters = ''
.* .*
''; '';
match = "_SYSTEMD_UNIT = bluetooth.service"; match = "_SYSTEMD_UNIT = bluetooth.service";
} }
{ { # yodaTux
filters = '' filters = ''
.* .*
''; '';
match = "_SYSTEMD_UNIT = cups.service"; match = "_SYSTEMD_UNIT = cups.service";
} }
{ # If the user `yoda` runs a command with `sudo`. { # yodaTux. If the user `yoda` runs a command with `sudo`.
filters = '' filters = ''
\s+yoda : TTY=pts/7 ; PWD=/.+ ; USER=root ; COMMAND=/.+ \s+yoda : TTY=pts/7 ; PWD=/.+ ; USER=root ; COMMAND=/.+
''; '';
match = "SYSLOG_IDENTIFIER = sudo"; match = "SYSLOG_IDENTIFIER = sudo";
} }
{ { # yodaTux
filters = '' filters = ''
The system will suspend now! The system will suspend now!
''; '';
match = "_SYSTEMD_UNIT = systemd-logind.service"; match = "_SYSTEMD_UNIT = systemd-logind.service";
} }
{ { # yodaTux
filters = '' filters = ''
Reexecuting. Reexecuting.
finished switching to system configuration /nix/store/.+-nixos-system-.+-[0-9]+\.[0-9]+pre-git finished switching to system configuration /nix/store/.+-nixos-system-.+-[0-9]+\.[0-9]+pre-git
''; '';
match = "_SYSTEMD_UNIT = user@0.service"; match = "_SYSTEMD_UNIT = user@0.service";
} }
{ { # yodaTux
filters = '' filters = ''
Reexecuting. Reexecuting.
finished switching to system configuration /nix/store/.+-nixos-system-.+-[0-9]+\.[0-9]+pre-git (finished )?switching to system configuration /nix/store/.+-nixos-system-.+-[0-9]+\.[0-9]+pre-git
''; '';
match = "_SYSTEMD_UNIT = user@1000.service"; match = "_SYSTEMD_UNIT = user@1000.service";
} }
{ { # yodaYoga
filters = '' filters = ''
Reloading rules (finished )?switching to system configuration /nix/store/.+-nixos-system-.+-[0-9]+\.[0-9]+pre-git
Collecting garbage unconditionally... '';
Loading rules from directory /.+ match = "SYSLOG_IDENTIFIER = nixos";
Finished loading, compiling and executing [0-9]+ rules }
''; { # yodaTux
match = "_SYSTEMD_UNIT = polkit.service"; filters = ''
} Reloading rules
{ # yodaTux Collecting garbage unconditionally...
filters = '' Loading rules from directory /.+
.+ error name="org\.bluez\.MediaEndpoint1\.Error\.NotImplemented" .+ Finished loading, compiling and executing [0-9]+ rules
''; '';
match = "_SYSTEMD_USER_UNIT = dbus.service"; match = "_SYSTEMD_UNIT = polkit.service";
} }
{ # yodaTux { # yodaTux
filters = '' filters = ''
ACPI: FW issue: working around C-state latencies out of order .+ error name="org\.bluez\.MediaEndpoint1\.Error\.NotImplemented" .+
# Kernel WiFi driver bug. '';
iwlwifi 0000:01:00.0: Unhandled alg: 0x707 match = "_SYSTEMD_USER_UNIT = dbus.service";
}
''; { # yodaTux
match = "SYSLOG_IDENTIFIER = kernel"; filters = ''
} ACPI: FW issue: working around C-state latencies out of order
# Kernel WiFi driver bug.
iwlwifi 0000:01:00.0: Unhandled alg: 0x707
'';
match = "SYSLOG_IDENTIFIER = kernel";
}
]; ];
}; };
} }