[Bug 231236] dns/ddclient: logging via syslog not possible
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jul 22 20:31:01 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231236
ncrogers at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ncrogers at gmail.com
--- Comment #4 from ncrogers at gmail.com ---
I ran into the same problem recently. I think this used to work, but the syslog
output changed in 12.0 and ddclient uses the logger(1) CLI tool to log to
syslog, which actually has nothing to do with perl.
https://reviews.freebsd.org/D14926
https://forums.freebsd.org/threads/logger-output-changed-in-12-0.69460/
In ddclient code:
sub logger {
return pipecmd("logger -p$facility.$priority -t${program}\[$$\]", @_);
It manually includes the process PID in the tag, and I believe syslog output
changed in 12.0 to include this automatically or something like that. In my
case, I end up with what appears like two PIDs in /var/log/messages entries for
ddclient. One is for the actual daemon inserted by ddclient and the other is
the process of logger(1). For example:
Jul 22 12:59:46 testhost ddclient[21473][21481]: FAILED: updating ...
In any case I believe this has something to do with the problem, as I am also
unable to come up with a syslog.conf that successfully logs to another file. I
thought I would share this experience in case it helps anyone else.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list