On Wed, 21 Dec 2022 at 18:18, Paul Szabo <[email protected]> wrote:
> Package: snmptrapd > Version: 5.9+dfsg-4+deb11u1 > The file /lib/systemd/system/snmptrapd.service ends up with line > > ExecStart=/usr/sbin/snmptrapd -LOw -f -p /run/snmptrapd.pid > > whereas I guess that should instead be > > ExecStart=/usr/sbin/snmptrapd -Lsd -f > OK so the logs are currently "Ow" which means: log to stdout but only from warning and higher which means warning messages are captured by the systemd logger. Instead use "sd" which means use syslog at a level of debugging and higher. That's not a really good outcome. I'm not sure why you would want that. Also the default options are "-LOw -f udp:162 udp6:162" so the pid got removed a while ago.

