Forum Discussion

ryan_buntrock's avatar
ryan_buntrock
Occasional Contributor
10 years ago

Logs Question

I have close to 30 tests.  I have noticed my log files files getting huge.  Our developers create the Test, and end users use Test Execute to run the tests.



Is there any way to limit the number of logs TestExecute keeps around?  For example, only keep the last X number of logs?





1 Reply

  • Ryan_Moran's avatar
    Ryan_Moran
    Valued Contributor
    You may want to disable events with Log.LockEvents().

    You can also disable loging entirely with Log.Enabled = False.

    Note: Disabling events may in some cases make it more difficult to troubleshoot an issue.