Logging

Servlets can log error messages or other text to the EAServer servlet log file, using the standard servlet log methods in the ServletContext class (or the equivalent methods in the GenericServlet class). EAServer records servlet log messages in the httpservlet.log file, located in EAServer’s bin subdirectory. If you define additional servers, the name of the servlet log file is prepended with the server name. For example, if you create a server named Test_server, then servlet messages for that server are directed to the Test_serverhttpservlet.log file.

To enable trace logging in the EAServer servlet execution engine, add the com.sybase.jaguar.server.servlet.trace property in the Server Properties dialog box on the Advanced tab, and set it to true.