Reports and Troubleshooting

Although servlets add a logging system and Velocity adds another, I don't like either, so SportPage includes the Log4J logging system and is peppered throughout with debug, warning, info and critical error messages that will be written out according to the specifications in the WEB-INF/log4j.conf file.

By default, velocity errors, sportpage errors and other application messages are written to WEB-INF/logs and the first action in any template system debugging should be to follow those logs while the request is being issued or while the webapp is loading. You can set this log file to another location by editing the log4j.appender.A1.File setting.