[ace-users] question about Loop File Log Strategy, thanks!

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Sun Sep 2 10:13:38 CDT 2007


Hi,

        Please see
        
ACE_ROOT/tests/Logging_Strategy_Test.cpp

for an example of what's available in ACE via the ACE_Logging_Strategy
class.  Steve, is this stuff covered in APG?

Thanks,

        Doug

>Version: 5.5.10
>host: windows xp sp2, suse linux enterprise server 9 sp2
>compiler: vs.net 2003, gcc 3.3.3
>
>Is there a loop file log strategy  in ACE's log mechanism ?  For
>example:
>To log to two log files named log.00, log.01,  each max size is 128k.
>When log.00 reaches its max size, switches to log.01.  And when log.01
>reaches its max size, switch back again.
>
>If there is no such log strategy, how to implement it ?
>Any suggestion is appreciated, thanks in advance.
>


-- 
Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Vanderbilt University                        WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203                          NET: d.schmidt at vanderbilt.edu



More information about the Ace-users mailing list