This log file contains the server version, build number, listener addresses, Java virtual machine (VM) version and type, trace and debug messages, all other messages logged by the server, and component output.
Use any of these techniques to output messages to the EAServer log file from an EAServer component or application:
Enable debug, trace, or other properties as outlined in “EAServer tracing”.
Call System.out.print from a Java component.
Call jaguar.server.Jaguar.writeLog method in a Java component. See the com.sybase.jaguar.server.Jaguar class documentation in Chapter 1, “Java Classes and Interfaces,” in the EAServer API Reference Manual.
Call JagLog from a C or C++ component. See JagLog in Chapter 2, “C Routines Reference,” in the EAServer API Reference Manual.
Utilize the ErrorLogging object for a PowerBuilder component. See “Error logging service” in the PowerBuilder Application Techniques manual for usage information.
The server writes messages to the <serverName>.log file.
The server may exit immediately without logging errors if there are errors in the server configuration; in this case, the server prints error messages to the shell window (console) where it was started.