Page 1 of 1

Disable Message Log Reporting

Posted: Fri Dec 05, 2008 5:02 pm
by Jennifer Good
Hi,

Is there any way to prevent a chore from writing to the message log when it executes? I have a chore that runs frequently, and it really clogs up the message log with extraneous information that the chore ran succesfully. Ideally, I would just like to see a message if the chore didn't execute correctly.

I have tried the following in the Prolog:
SetChoreVerboseMessages(0);

NumericGlobalVariable('ProcessReturnCode');
If(ProcessReturnCode=ProcessExitSeriousError());
ASCIIOutput('K:\Jennifer G\TM1 Maintenance\process_return_value.txt', 'Process exited with serious errors at', TIME, 'on', TODAY);
endif;

And I still get 3 lines on the message log every time the chore executes.

Thanks for any suggestions.

Jennifer

Re: Disable Message Log Reporting

Posted: Fri Dec 05, 2008 5:06 pm
by Martin Ryan
A similar question was asked a while ago here. Unfortunately the short answer is 'no', but you'll find a couple of suggestions in that post.

Cheers,
Martin

Re: Disable Message Log Reporting

Posted: Fri Dec 05, 2008 7:21 pm
by Jennifer Good
Thanks for pointing me in the right direction - sorry I missed the other post.