InterSystems IRIS Data Platform 2019.2  /  InterSystems Programming Tools Index

InterSystems Programming Tools Index
Previous section           Next section
InterSystems: The power behind what matters   

Write to the messages.log file, the operator messages log.
Background Information
InterSystems IRIS 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 messages.log file in the InterSystems IRIS system manager directory (install-dir/mgr). For InterSystems IRIS systems on UNIX® platforms, you can send operator console messages to the messages.log file or the console terminal.
For more information, see “Monitoring Log Files” in the chapter “Monitoring InterSystems IRIS Using the Management Portal” in the Monitoring Guide.
The directory location of this file is configurable; see ConsoleFile in the “Advanced Memory Settings” section of Additional Configuration Settings Reference.
Available Tools
%SYS.System class
Provides the WriteToConsoleLog() method, which you can use to write to the messages.log file.
Availability: All namespaces.
%SYSTEM.Config class
Provides the ModifyConsoleFile() method.
Availability: All namespaces.
The special variable $SYSTEM is bound to the %SYSTEM package. This means that instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().

Previous section           Next section
Send us comments on this page
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-08-23 06:48:00