Diagnostics logging can be turned on from the command line in both Windows and Unix / Linux environments. The process for enabling diagnostics logging using the MSTRCTL utility is described in the following Strategy Knowledge Base technical note:
KB15868 (KB5303-81x-2506): How to modify diagnostics logging for Strategy components from the command line in Windows and Unix/Linux environments
On the Strategy Intelligence Server 8.x machine, follow the steps below:
- Run the command 'mstrctl -s IntelligenceServer gsic'. This will output the current diagnostics and performance monitoring configuration in XML format.
- Run 'mstrctl -s IntelligenceServer ssic'. This will start input mode where new XML tags can be entered to replace the current configuration. In the example that follows, the 'Database Classes' component 'Error' dispatcher logging is turned off:
<?xml version="1.0"?>
<configuration>
<diagnostics>
<logger n="Database Classes">
<dispatcher n="Error">
<log_destination n="DebugOutput" delete="1"/>
<log_destination n="DSSErrors" delete="1"/>
</dispatcher></logger>
</diagnostics>
</configuration>
- Press 'Ctrl+d' in Unix and 'Ctrl+Z' in Windows to stop input and write changes.
In order to turn off other tracing components, modify this sample code accordingly, placing the tag <log_destination n="XXX" delete="1"/> where needed.