journald: implement socket forwarding
This commit adds a new way of forwarding journal messages - forwarding over a socket. The socket can be any of AF_INET, AF_INET6, AF_UNIUX or AF_VSOCK. The address to connect to is retrieved from the "journald.forward_address" credential. It can also be specified in systemd-journald's unit file with ForwardAddress=
This commit is contained in:
@@ -865,6 +865,7 @@ MaxLevelKMsg=
|
||||
MaxLevelStore=
|
||||
MaxLevelSyslog=
|
||||
MaxLevelWall=
|
||||
MaxLevelSocket=
|
||||
MaxRetentionSec=
|
||||
MaxUse=
|
||||
MemoryDenyWriteExecute=
|
||||
|
||||
@@ -343,7 +343,7 @@ done
|
||||
|
||||
# Aux verbs & assorted checks
|
||||
systemctl is-active "*-journald.service"
|
||||
systemctl cat "*journal*"
|
||||
systemctl cat "*udevd*"
|
||||
systemctl cat "$UNIT_NAME"
|
||||
systemctl help "$UNIT_NAME"
|
||||
systemctl service-watchdogs
|
||||
|
||||
Reference in New Issue
Block a user