| ||||||||||||||||||
[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
Log File LocationIt is recommended that the log files be stored in a ramdisk to minimize wear on the flash. Please consult the "Information about the flash" section of the FAQ in the SNAP documentation for more details. Transfer Log FormatThe 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. Server LogEach line of the server log will contain a date and a message. Some messages may include exceptions with a message, while some will just contain descriptive text. For example (note that some lines may be wrapped, but should be on one line):
Log ConfigurationThe 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. | ||||||||||||||||||
Tynamo™-SNAP/1.0.4 Email: shawn@pobox.com © 2002-2007 Shawn Silverman |