InterSystems Programming Tools Index
[Back] [Next]
Go to:

Write to the cconsole.log file, the operator console log.
Background Information
Caché reports general messages, system errors, certain operating system errors, and network errors through an operator console facility. On Windows, there is no operator console as such and all console messages are sent to the cconsole.log file in the Caché system manager directory (install-dir/mgr). For Caché systems on UNIX® or OpenVMS platforms, you can send operator console messages to the cconsole.log file or the console terminal.
For more information, see Monitoring Log Files in the chapter “Monitoring Caché Using the Management Portal” in the Caché Monitoring Guide.
The name of this file is configurable; see Advanced Memory Settings in the Caché Additional Configuration Settings Reference.
Available Tools
%SYS.System class
Provides the WriteToConsoleLog() method, which you can use to write to the cconsole.log file.
Availability: All namespaces.
%SYSTEM.Config class
Provides the ModifyConsoleFile() and ModifyVMSConsoleTerminal() methods.
Availability: All namespaces.
The special variable $SYSTEM is bound to the %SYSTEM package. This means that (for ObjectScript) instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().