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

Steve Huston shuston at riverace.com
Mon Sep 3 09:41:05 CDT 2007


>         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?

Yes, APG section 3.8.

Thanks,
-Steve

> >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