Subject: [Boost-bugs] [Boost C++ Libraries] #12562: boost::log syslog backend date formatting can have an unwanted extra space
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-10-27 22:07:25
#12562: boost::log syslog backend date formatting can have an unwanted extra space
------------------------------+---------------------
Reporter: tag@⦠| Owner: andysem
Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
Version: Boost 1.62.0 | Severity: Problem
Keywords: |
------------------------------+---------------------
According to RFC3164, the day of month field in the syslog header
timestamp should be formatted as two characters:
"If the day of the month is less
than 10, then it MUST be represented as a space and then the
number. For example, the 7th day of August would be
represented as "Aug 7", with two spaces between the "g" and
the "7".
https://tools.ietf.org/html/rfc3164#section-4.1.2
I have submitted a pull request to fix this.
https://github.com/boostorg/log/pull/33
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12562> 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