Skip to content

Apache Tomcat geoportal logging

Christine White edited this page Jan 23, 2014 · 2 revisions

Tomcat's log files are by default found in the \logs directory. In addition to the standard files that are created by Tomcat, the logs directory will also contain geoportal log file, named gpt.xx.log where xx is the date in yyyy-mm-dd format. This log file is the first place to check for errors. Additional details about Tomcat's logging mechanism can be found here.

The geoportal allows setting the level of logging to get more or less detail in geoportal log files. The level of details written to the gpt.log file is set in the \webapps\geoportal\WEB-INF\classes\logging.properties file. The variable com.esri.gpt.level determines the logging level and is set to FINE by default. Accepted values for the logging level are:

  • SEVERE
  • WARNING
  • INFO
  • CONFIG
  • FINE
  • FINER
  • FINEST
  • ALL
After changing the logging level, restart the geoportal web application within Tomcat Manager, or restart Tomcat altogether so your changes take effect.

Caution: Setting the log level to FINER or ALL is suitable troubleshooting, but the log level should be set back to its original level when troubleshooting is complete. Leaving logging set to these levels will cause the logfile to grow large and take up disk space.

Back to Logging

Clone this wiki locally