![]() | Programming Guide | ![]() |
Logs a message to the machine event log
loglogEntry
logEntry- The string to write to the log file: supply either a string constant or variable.
JetNet, Oracle Tuxedo, COM, EJB
Client, Server
The
logcommand writes an entry to the machine-specific log file. For example, you can define aserver_exithandler that logs a message when the server shuts down:procserver_exit()
log "Enterprise Bank server shutting down"
return 0For 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_WARNINGThere is no connection to the middleware.
![]()
![]()
![]()
![]()