While configuring logging functionality of watchdog, make it more verbose for ssh, sudo and su to also keep record of ssh_host_username and server_hostname in the logs.
Right now, su.logs looks like :
*** Tue Oct 29 00:16:20 2024
*** Tue Oct 29 02:30:35 2024
*** Tue Oct 29 02:30:35 2024
*** Wed Nov 6 02:05:16 2024
Improve the format to include ssh_host_username(ex: sukhman) and server_hostname(ex: watchdog) in the logs
While configuring logging functionality of watchdog, make it more verbose for ssh, sudo and su to also keep record of ssh_host_username and server_hostname in the logs.
Right now,
su.logslooks like :Improve the format to include ssh_host_username(ex: sukhman) and server_hostname(ex: watchdog) in the logs