I am trying to use a custom path for syslogd
socket by using -p
option as below
syslogd -p /tmp/my_path
Even though I see the socket file is getting created correctly, the logging is not happening to syslog storage (even with explicit rules in /etc/syslog.conf)
Do I need any extra changes in syslog.conf to send logs to alternative socket /tmp/my_path which is used instead of /dev/log ?
syslogd
is not actually used for syslog logging, becausejournald
already does that (at least that's what's happening on most modern linuxes). Can you verify your system isn't actually using journald? What linux distro (in which version) is this?