mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
journalwatch config
This commit is contained in:
parent
8449f701a4
commit
11e0a39fb2
@ -44,6 +44,11 @@
|
|||||||
# `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 = [
|
||||||
|
|
||||||
|
#
|
||||||
|
# _SYSTEMD_UNIT
|
||||||
|
#
|
||||||
|
|
||||||
{ # yodaTux
|
{ # yodaTux
|
||||||
filters = ''
|
filters = ''
|
||||||
.*
|
.*
|
||||||
@ -62,22 +67,23 @@
|
|||||||
'';
|
'';
|
||||||
match = "_SYSTEMD_UNIT = sshd.service";
|
match = "_SYSTEMD_UNIT = sshd.service";
|
||||||
}
|
}
|
||||||
{ # yodaTux
|
{ # yodaTux, yodaYoga
|
||||||
filters = ''
|
filters = ''
|
||||||
The system will suspend now!
|
The system will suspend now!
|
||||||
|
System is powering down\.
|
||||||
'';
|
'';
|
||||||
match = "_SYSTEMD_UNIT = systemd-logind.service";
|
match = "_SYSTEMD_UNIT = systemd-logind.service";
|
||||||
}
|
}
|
||||||
{ # yodaTux
|
{ # 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
|
{ # 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";
|
||||||
@ -85,7 +91,7 @@
|
|||||||
{ # yodaTux
|
{ # yodaTux
|
||||||
filters = ''
|
filters = ''
|
||||||
Reloading rules
|
Reloading rules
|
||||||
Collecting garbage unconditionally...
|
Collecting garbage unconditionally\.\.\.
|
||||||
Loading rules from directory /.+
|
Loading rules from directory /.+
|
||||||
Finished loading, compiling and executing [0-9]+ rules
|
Finished loading, compiling and executing [0-9]+ rules
|
||||||
'';
|
'';
|
||||||
@ -128,6 +134,14 @@
|
|||||||
'';
|
'';
|
||||||
match = "SYSLOG_IDENTIFIER = nixos";
|
match = "SYSLOG_IDENTIFIER = nixos";
|
||||||
}
|
}
|
||||||
|
{ # yodaYoga
|
||||||
|
filters = ''
|
||||||
|
docker\.service: Consumed [0-9]+h [0-9]+min [0-9]+\.[0-9]+s CPU time, read [0-9]+\.[0-9]+M from disk, written [0-9]+\.[0-9]+G to disk, received [0-9]+\.[0-9]+M IP traffic, sent [0-9]+\.[0-9]+M IP traffic\.
|
||||||
|
#
|
||||||
|
Shutting down\.
|
||||||
|
'';
|
||||||
|
match = "SYSLOG_IDENTIFIER = systemd";
|
||||||
|
}
|
||||||
{ # yodaTux
|
{ # yodaTux
|
||||||
filters = ''
|
filters = ''
|
||||||
.*
|
.*
|
||||||
|
Loading…
Reference in New Issue
Block a user