aycakir
11 years agoNew Contributor
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
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.