Disable Message Log Reporting
Posted: Fri Dec 05, 2008 5:02 pm
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
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:
Code: Select all
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