Forum Discussion

aycakir's avatar
aycakir
New Contributor
11 years ago

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