Subject: [Boost-bugs] [Boost C++ Libraries] #11690: Boost.Log does not recognize file name pattern that includes datetime format specifiers
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-29 09:01:26
#11690: Boost.Log does not recognize file name pattern that includes datetime
format specifiers
-------------------------------------------------+-------------------------
Reporter: art.korotkov@⦠| Owner: andysem
Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
Version: Boost 1.59.0 | Severity: Problem
Keywords: Boost, log, 1.59, file name |
pattern, datetime |
-------------------------------------------------+-------------------------
Running the following example
http://www.boost.org/doc/libs/1_59_0/libs/log/example/doc/sinks_xml_file.cpp
with file name pattern "%Y%m%d_%H%M%S_%5N.xml" results log files having
names like "2015-Sep-29 08:42:02.330324" (using Boost 1.59).
If datetime specifiers are not included in file name pattern, everything
looks good. For example, running with file name pattern "log_%5N.xml"
generates logs in form "log_00001.xml".
Compiling the same example with Boost 1.58 gives results as expected.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11690> 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:19 UTC