journalwatch config

This commit is contained in:
Daniel Langbein 2023-09-20 13:38:26 +02:00
parent e1dd1c3cbd
commit 10f2f66762
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -62,12 +62,6 @@
''; '';
match = "_SYSTEMD_UNIT = sshd.service"; match = "_SYSTEMD_UNIT = sshd.service";
} }
{ # yodaTux. If the user `yoda` runs a command with `sudo`.
filters = ''
\s+yoda : TTY=pts/7 ; PWD=/.+ ; USER=root ; COMMAND=/.+
'';
match = "SYSLOG_IDENTIFIER = sudo";
}
{ # yodaTux { # yodaTux
filters = '' filters = ''
The system will suspend now! The system will suspend now!
@ -88,12 +82,6 @@
''; '';
match = "_SYSTEMD_UNIT = user@1000.service"; match = "_SYSTEMD_UNIT = user@1000.service";
} }
{ # yodaYoga
filters = ''
(finished )?switching to system configuration /nix/store/.+-nixos-system-.+-[0-9]+\.[0-9]+pre-git
'';
match = "SYSLOG_IDENTIFIER = nixos";
}
{ # yodaTux { # yodaTux
filters = '' filters = ''
Reloading rules Reloading rules
@ -113,9 +101,31 @@
} }
{ # yodaTux { # yodaTux
filters = '' filters = ''
.+ Setting AttentionNeeded to FALSE because EnsureCredentials\(\) succeded Mounted /dev/\S+ at /\S+ on behalf of uid [0-9]+
Cleaning up mount point /\S+ \(device \S+ is not mounted\)
Unmounted /dev/\S+ on behalf of uid [0-9]+
Successfully sent SCSI command SYNCHRONIZE CACHE to /dev/\S+
Successfully sent SCSI command START STOP UNIT to /dev/\S+
Powered off /dev/\S+ - successfully wrote to sysfs path /sys/devices/\S+
''; '';
match = "_SYSTEMD_USER_UNIT = dbus.service"; match = "_SYSTEMD_UNIT = udisks2.service";
}
#
# SYSLOG_IDENTIFIER
#
{ # yodaTux. If the user `yoda` runs a command with `sudo`.
filters = ''
\s+yoda : TTY=pts/7 ; PWD=/.+ ; USER=root ; COMMAND=/.+
'';
match = "SYSLOG_IDENTIFIER = sudo";
}
{ # yodaYoga
filters = ''
(finished )?switching to system configuration /nix/store/.+-nixos-system-.+-[0-9]+\.[0-9]+pre-git
'';
match = "SYSLOG_IDENTIFIER = nixos";
} }
{ # yodaTux { # yodaTux
filters = '' filters = ''
@ -134,6 +144,12 @@
iwlwifi 0000:01:00.0: .* iwlwifi 0000:01:00.0: .*
# #
random: crng reseeded on system resumption random: crng reseeded on system resumption
#
sd 2:0:0:0: [sda] [0-9]+ 512-byte logical blocks: \([0-9]+ GB/[0-9]+ GiB\)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 2:0:0:0: [sda] Optimal transfer size [0-9]+ bytes not a multiple of preferred minimum block size (4096 bytes)
sd 2:0:0:0: [sda] Attached SCSI disk
''; '';
match = "SYSLOG_IDENTIFIER = kernel"; match = "SYSLOG_IDENTIFIER = kernel";
} }
@ -143,6 +159,17 @@
''; '';
match = "SYSLOG_IDENTIFIER = simple-scan"; match = "SYSLOG_IDENTIFIER = simple-scan";
} }
#
# _SYSTEMD_USER_UNIT
#
{ # yodaTux
filters = ''
.+ Setting AttentionNeeded to FALSE because EnsureCredentials\(\) succeded
'';
match = "_SYSTEMD_USER_UNIT = dbus.service";
}
{ # yodaTux { # yodaTux
filters = '' filters = ''
.* .*