#12562 closed Bugs (fixed)
boost::log syslog backend date formatting can have an unwanted extra space
Reported by: | Owned by: | Andrey Semashev | |
---|---|---|---|
Milestone: | To Be Determined | Component: | log |
Version: | Boost 1.62.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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.
Change History (3)
comment:1 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 6 years ago
Thanks for merging: can you advise if this fix will be merged into Boost 1.63? We also need the earlier fix to the same line of code.
https://github.com/boostorg/log/commit/084f848d1461f16c0a6871694076aa36995d4f80
Merged, thanks.