Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12600: Syslog broken in 1.62.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-11-10 15:46:06
#12600: Syslog broken in 1.62.0
-------------------------------+-------------------------
Reporter: mario.m.kaip@⦠| Owner: andysem
Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
Version: Boost 1.62.0 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------+-------------------------
Comment (by andysem):
As you can see in the strace output, the process does send your message
(see the last `sendmsg` call with string "<14> Nov 10 15:10:56 WS14
TEST_"...). The message format is slightly different from the other log,
but that's fixed in 1.63 (see
https://github.com/boostorg/log/commit/084f848d1461f16c0a6871694076aa36995d4f80
and
https://github.com/boostorg/log/commit/d595b6de33c85ec3bf7c81fc2eb5c4537bdfd786).
The strace log also indicates that UDP socket-based backend is used even
when you specify native. This can happen if support for native syslog was
not compiled in (i.e. `BOOST_LOG_USE_NATIVE_SYSLOG` was not defined when
Boost was built). I think, this could have changed in 1.62, and needs to
be fixed. If that's the case, and your syslog daemon is not configured to
listen for UDP packets, then the messages are lost. You can try rebuilding
Boost and your code with `BOOST_LOG_USE_NATIVE_SYSLOG` defined and see if
that helps.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12600#comment:4> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC