<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div>I also tried ace own test application:</div><div><span><div>./Logging_Strategy_Test -m 1 -N 4 -s lhx.log -f OSTREAM</div><div><br></div></span>It only generate one lhx.log and the size is 31KB.</div><div><br></div><div>I maybe miss something and please recommend, thanks.</div><div><br></div>
        
        </div><div id="yahoo_quoted_7163320165" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Wednesday, September 12, 2018, 4:41:04 PM GMT+8, haixiang liu <haixiang1977@yahoo.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv0749524649"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div> <span><pre style="color:rgb(0, 0, 0);white-space:pre-wrap;">ACE VERSION: 6.3.3</pre></span><span><pre style="color:rgb(0, 0, 0);white-space:pre-wrap;">HOST MACHINE and OPERATING SYSTEM: Ubuntu 16.04 LTS

    THE $ACE_ROOT/ace/config.h FILE is attached

    THE $ACE_ROOT/include/makeinclude/platform_macros.GNU is attached
<br></pre><pre style="color:rgb(0, 0, 0);white-space:pre-wrap;">AREA/CLASS/EXAMPLE AFFECTED: I have one simple test3.cpp to log and test the ace log rotate. It reads from svc.conf and the maximum file size i set is 1KB and max number of file is 4. But the log rotate not work and it log to one file only whose size is much bigger than i set.
<span style="font-family:Helvetica, Arial, sans-serif;"><br></span></pre><pre style="color:rgb(0, 0, 0);white-space:pre-wrap;"><span style="font-family:Helvetica, Arial, sans-serif;">i attached my test code and svc.conf here.</span>
</pre><pre style="color:rgb(0, 0, 0);white-space:pre-wrap;">SYNOPSIS:
DESCRIPTION: I traced into the <span style="font-family:Helvetica, Arial, sans-serif;">ACE_Logging_Strategy::</span><span style="font-family:Helvetica, Arial, sans-serif;">parse_args() and confirmed that the -m and -N has been given correctly. Just the rotate function not work as what I thought. All logs go into 1 file only.</span></pre><pre style="color:rgb(0, 0, 0);white-space:pre-wrap;">REPEAT BY:</pre><pre style="color:rgb(0, 0, 0);white-space:pre-wrap;"><span style="font-family:Helvetica, Arial, sans-serif;">command to  build: </span><span style="font-family:Helvetica, Arial, sans-serif;">g++ test3.cpp -g -O0 -lACE -o test3.out -I/usr/local/include/ace -L/usr/local/lib</span>
</pre><pre style="color:rgb(0, 0, 0);white-space:pre-wrap;"><span style="font-family:Helvetica, Arial, sans-serif;">./test3.out</span></pre><pre style="color:rgb(0, 0, 0);white-space:pre-wrap;">and the log.out size is 27000 bytes. And i suppose to see 4 log.out.x and each file size is 1KB.</pre><pre style="color:rgb(0, 0, 0);white-space:pre-wrap;">Please help since this is important log feature for me.</pre></span><br></div><div><br></div><div><br></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"></div></div></div></div></div>
            </div>
        </div></div></body></html>