|[Back to Index]|
The server tracks its activity using two log files. The transfer log keeps track of all incoming requests, while the server log stores server and servlet status messages.
The server log is utilized from your own servlets via its
Transfer Log Format
The transfer log is stored in the Extended Common Log Format. Each line of the log contains the following information:
There will be a "-" in each entry that is not known, or cannot be determined, by the server.
Here is an example of an entry in the transfer log (note that the line may be wrapped, but should be on one line):
http://www.bacuslabs.com/WsvlCLF.html has another description of this format.
Each line of the server log will contain a date and a message. Some messages may include exception stack traces, while some will just contain descriptive text. For example (note that some lines may be wrapped, but should be on one line):
The log files are configured using the logging properties in the server properties file. It is possible to configure the log file locations, their maximum size, and where they will get emailed when full.
© 2002-2004 Shawn Silverman