Boost C++ Libraries: Ticket #8330: Log output stream redirection not redirecting the closing tag in XML format https://svn.boost.org/trac10/ticket/8330 <p> I followed the example from the documentation "Example 30. Test log output redirection". If I use the format XML as output, the last tag is outputted in the console and not in the file. </p> <p> in the console I have </p> <pre class="wiki">./out/testsSuite/bin/myTestSuite --log_format=XML &lt;/TestLog&gt; *** No errors detected </pre><p> and the tag is missing from the file. </p> <p> I tried to remove <em>set_stream( std::cout );</em> from the destructor, and I have a crash with segmentation fault. </p> <p> I have a workaround for the moment </p> <pre class="wiki"> ~TestReport(){ // Bug in boost 1.53.0 ? test_log &lt;&lt; "&lt;/TestLog&gt;"; unit_test_log.set_stream( std::cout ); } </pre><p> but I wanted to report the issue to the maintainer. Regards, Marco </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8330 Trac 1.4.3 Gennadiy Rozental Wed, 08 Jul 2015 05:13:11 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/8330#comment:1 https://svn.boost.org/trac10/ticket/8330#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> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.59.0</span> </li> </ul> Ticket