Systemd/src
Lennart Poettering 131819424d journald: when logging about dropped messages, include more meta data
When we drop messages of a unit, we log about. Let's add some structured
data to that. Let's include how many messages we dropped, but more
importantly, let's link up the message we generate to the unit we
dropped the messages from by using the "OBJECT" logic, i.e. by
generating OBJECT_SYSTEMD_UNIT= fields and suchlike, that "journalctl
-u" and friends already look for.

Fixes: #6494
2017-11-16 12:40:17 +01:00
..
ac-power build-sys: drop automake support 2017-07-18 10:04:44 -04:00
activate tree-wide: make use of getpid_cached() wherever we can 2017-07-20 20:27:24 +02:00
analyze build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
ask-password build-sys: drop automake support 2017-07-18 10:04:44 -04:00
backlight build-sys: drop automake support 2017-07-18 10:04:44 -04:00
basic util-lib: add debug messages when checking cgroup layout 2017-11-15 22:58:24 +01:00
binfmt exec-util,conf-files: skip non-executable files in execute_directories() 2017-09-13 11:42:31 +02:00
boot build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
busctl busctl: fix minor memory leak in busctl (#7331) 2017-11-14 17:59:50 +01:00
cgls build-sys: drop automake support 2017-07-18 10:04:44 -04:00
cgroups-agent build-sys: drop automake support 2017-07-18 10:04:44 -04:00
cgtop build-sys: drop automake support 2017-07-18 10:04:44 -04:00
core Merge pull request #7356 from keszybz/cgroup-and-manager-cleanups 2017-11-16 11:37:20 +01:00
coredump conf-parser: turn three bool function params into a flags fields 2017-11-13 10:24:03 +01:00
cryptsetup Merge pull request #7089 from oniko/luks2-support 2017-11-10 16:16:36 +01:00
debug-generator build-sys: drop automake support 2017-07-18 10:04:44 -04:00
delta build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
detect-virt build-sys: drop automake support 2017-07-18 10:04:44 -04:00
dissect dissect: when we invoke dissection on a loop device with partscan help the user 2017-10-26 17:54:56 +02:00
environment-d-generator exec-util,conf-files: skip non-executable files in execute_directories() 2017-09-13 11:42:31 +02:00
escape escape: fix systemd-escape description text 2017-07-31 18:01:42 +02:00
firstboot systemd-firstboot: add vconsole keymap support (#7035) 2017-11-10 10:31:44 +01:00
fsck Merge pull request #6974 from keszybz/clean-up-defines 2017-10-04 19:25:30 +02:00
fstab-generator tree-wide: fput[cs]() → fput[cs]_unlocked() wherever that makes sense (#6396) 2017-07-21 10:35:45 +02:00
getty-generator getty-generator: shift relevant comment to above tty_is_vc() 2017-08-07 17:23:41 +01:00
gpt-auto-generator gpt-auto-generator: make sure "r" is always set 2017-11-10 19:00:06 +01:00
hibernate-resume build-sys: drop automake support 2017-07-18 10:04:44 -04:00
hostname po: add a copy of polkit its rules 2017-11-14 16:18:27 +01:00
hwdb exec-util,conf-files: skip non-executable files in execute_directories() 2017-09-13 11:42:31 +02:00
import po: add a copy of polkit its rules 2017-11-14 16:18:27 +01:00
initctl tree-wide: make use of getpid_cached() wherever we can 2017-07-20 20:27:24 +02:00
journal journald: when logging about dropped messages, include more meta data 2017-11-16 12:40:17 +01:00
journal-remote conf-parser: turn three bool function params into a flags fields 2017-11-13 10:24:03 +01:00
kernel-install build-sys: drop automake support 2017-07-18 10:04:44 -04:00
libsystemd tree-wide: do not work in assert() 2017-11-09 18:38:02 +09:00
libsystemd-network sd-dhcp6-client: Implement FQDN Option (#7309) 2017-11-16 10:07:07 +01:00
libudev string-util: add delete_trailing_chars() and skip_leading_chars() helpers 2017-11-13 10:47:15 +01:00
locale po: add a copy of polkit its rules 2017-11-14 16:18:27 +01:00
login Merge pull request #6866 from sourcejedi/set-linger2 2017-11-15 11:15:15 +01:00
machine Merge pull request #7313 from keszybz/msgformat 2017-11-14 21:48:42 +01:00
machine-id-setup build-sys: drop automake support 2017-07-18 10:04:44 -04:00
modules-load modules-load: downgrade error on ENODEV/ENOENT 2017-10-08 22:29:45 +02:00
mount tree-wide: use _cleanup_(sd_bus_flush_close_unrefp) at various appropriate places 2017-11-10 21:15:44 +01:00
network sd-dhcp6-client: Implement FQDN Option (#7309) 2017-11-16 10:07:07 +01:00
notify build-sys: drop automake support 2017-07-18 10:04:44 -04:00
nspawn Merge pull request #6866 from sourcejedi/set-linger2 2017-11-15 11:15:15 +01:00
nss-myhostname tree-wide: use !IN_SET(..) for a != b && a != c && … 2017-10-02 13:09:56 +02:00
nss-mymachines nss: use secure_getenv for behaviour-modifying booleans (#6817) 2017-09-14 09:20:27 +02:00
nss-resolve tree-wide: use IN_SET macro (#6977) 2017-10-04 16:01:32 +02:00
nss-systemd nss-systemd: if cannot open bus, then try to read user info directly (#6971) 2017-10-04 19:29:36 +02:00
path build-sys: drop automake support 2017-07-18 10:04:44 -04:00
quotacheck build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
random-seed build-sys: drop automake support 2017-07-18 10:04:44 -04:00
rc-local-generator build-sys: drop automake support 2017-07-18 10:04:44 -04:00
remount-fs build-sys: drop automake support 2017-07-18 10:04:44 -04:00
reply-password build-sys: drop automake support 2017-07-18 10:04:44 -04:00
resolve conf-parser: turn three bool function params into a flags fields 2017-11-13 10:24:03 +01:00
rfkill rfkill: include the device name in error message 2017-10-18 17:39:54 +02:00
run treewide: unify identical definitions of polkit_agent_open_if_enabled() (#7187) 2017-10-30 09:57:53 +01:00
shared journal: move valid_user_field() to journal-util.[ch] and rename it → journal_field_valid() 2017-11-16 12:40:17 +01:00
sleep fileio: make write_string_stream() accept flags parameter 2017-09-22 20:55:34 +02:00
socket-proxy tree-wide: use IN_SET macro (#6977) 2017-10-04 16:01:32 +02:00
stdio-bridge tree-wide: when %m is used in log_*, always specify errno explicitly 2017-05-19 14:24:03 -04:00
sulogin-shell sulogin-shell: switch from shell implementation to a C implementation (#6698) 2017-09-08 18:21:37 +02:00
sysctl exec-util,conf-files: skip non-executable files in execute_directories() 2017-09-13 11:42:31 +02:00
system-update-generator build-sys: drop automake support 2017-07-18 10:04:44 -04:00
systemctl systemctl: other wayland sessions should inhibit shutdown, like x11 sessions do (#7353) 2017-11-16 11:02:34 +01:00
systemd sd-dhcp6-client: Implement FQDN Option (#7309) 2017-11-16 10:07:07 +01:00
sysusers Merge pull request #6974 from keszybz/clean-up-defines 2017-10-04 19:25:30 +02:00
sysv-generator tree-wide: use IN_SET where possible 2017-10-02 13:09:54 +02:00
test test-cgroup-util: add basic test for cg_all_unified/cg_hybrid_unified/cg_unified_controller 2017-11-15 22:58:24 +01:00
timedate po: add a copy of polkit its rules 2017-11-14 16:18:27 +01:00
timesync conf-parser: turn three bool function params into a flags fields 2017-11-13 10:24:03 +01:00
tmpfiles tmpfiles: when /etc is not fully initialized, some specifiers are expected to be unresolvable (#6860) 2017-11-16 11:27:29 +01:00
tty-ask-password-agent conf-parser: turn three bool function params into a flags fields 2017-11-13 10:24:03 +01:00
udev udev: net_setup_link: don't error out when we couldn't apply link config (#7328) 2017-11-14 19:29:37 +01:00
update-done build-sys: drop automake support 2017-07-18 10:04:44 -04:00
update-utmp Merge pull request #6974 from keszybz/clean-up-defines 2017-10-04 19:25:30 +02:00
user-sessions build-sys: drop automake support 2017-07-18 10:04:44 -04:00
vconsole build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
veritysetup tree-wide: use IN_SET where possible 2017-10-02 13:09:54 +02:00
volatile-root build-sys: drop automake support 2017-07-18 10:04:44 -04:00