12 years ago
TestExecute - Disable logging entirely
I've designed some testing tools which run continuously, checking the DB for new scripts to run. In this environment, my log files are getting up above 2 GB. I would like to be able to disable savin...
- 12 years agoThere is no such options, however it is still possible.
You can create handlers for all log events (it is described in Help) and in every handler write
LogParams.Locked = true;
This will supress posting a certain event (error, warning, message and so on).
You can also use Project Variable to create a boolean variable which will specify whether to disable logging or not. THen your even handlers will look something like this
if(Project.Variable.SupressLog)
{ LogParams.Locked = true; }