Boost C++ Libraries: Ticket #11690: Boost.Log does not recognize file name pattern that includes datetime format specifiers https://svn.boost.org/trac10/ticket/11690 <p> Running the following example <a href="http://www.boost.org/doc/libs/1_59_0/libs/log/example/doc/sinks_xml_file.cpp">http://www.boost.org/doc/libs/1_59_0/libs/log/example/doc/sinks_xml_file.cpp</a> 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). </p> <p> 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". </p> <p> Compiling the same example with Boost 1.58 gives results as expected. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11690 Trac 1.4.3 Andrey Semashev Thu, 15 Oct 2015 18:13:33 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11690#comment:1 https://svn.boost.org/trac10/ticket/11690#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed in <a class="ext-link" href="https://github.com/boostorg/log/commit/284d5e6139460788ad011bfc05085cd6d624db78"><span class="icon">​</span>https://github.com/boostorg/log/commit/284d5e6139460788ad011bfc05085cd6d624db78</a>. </p> Ticket