Previous Topic: Manually Roll Over the Profiler Trace Log File

Next Topic: Configuring Administrative Journal and Event Handler

Dynamic Trace File Rollover at Specified Intervals

You can also write a script to cause a trace file to be rolled over at a specified time interval. For example, to create a new trace file every hour, write a script similar to the following:

smpolicysrv –starttrace
repeat forever
wait 1 hour
smpolicysrv –starttrace
end repeat

This is similar to the time-based rollover option on the Policy Server Management Console's Logs tab.


Copyright © 2010 CA. All rights reserved. Email CA about this topic