Logs a message to the machine event log
- The string to write to the log file: supply either a string constant or variable.
JetNet, Oracle Tuxedo, COM, EJB
logcommand writes an entry to the machine-specific log file. For example, you can define a
server_exithandler that logs a message when the server shuts down:
log "Enterprise Bank server shutting down"
For COM/MTS applications, the log file must be named
server.logand reside in the service component's application directory.
logis not supported for COM/MTS clients. For more information, refer to "Logging Server Messages" in COM/MTS Guide.
In JetNet/Oracle Tuxedo applications,
logcan generate one exception:
Exception Severity Cause TP_INVALID_CONNECTION TP_WARNING
There is no connection to the middleware.