Forum Discussion

aycakir's avatar
aycakir
New Contributor
10 years ago
Solved

Long-time tests and disabling logs

Hello,



Is it possible disable the logs completely for longtime test. Because if you run a test more then a few hours, the logs become too large and the application crashes.



For some tests, you do not have to log all the messages.



Thanks.



Ali
  • Hi Ali,

    Yes it is possible. You probably want to use Log.LockEvents(), or you can disable them entirely with Log.Enabled = False.

3 Replies

  • Ryan_Moran's avatar
    Ryan_Moran
    Valued Contributor
    Hi Ali,

    Yes it is possible. You probably want to use Log.LockEvents(), or you can disable them entirely with Log.Enabled = False.
  • aycakir's avatar
    aycakir
    New Contributor
    Thanks for the answer. I am very new to the environment, so could you state where I can find this option?



  • aycakir's avatar
    aycakir
    New Contributor
    Hi, I realised that my question may be under a wrong thread. I am using LoadUIWeb free version.