InterMine Logging
Logging in general
In order for the intermine webapp to write logs, you must correctly set the webapp.logdir property in ~/build.properties.intermine. The property must be an absolute path to a directory on the tomcat machine, writable by tomcat.
Template and example query usage logging
We now log when a user loads an example query or runs a template query from the webapp. Example query loading is logged to the file examples.log and template usage is logged to templates.log. Both files are created alongside intermine.log in webapp.logdir (see above). Each line of these files contains a timestamp followed by the email address of the user (if logged in) or 'anonymous'. In the case of templates.log, the template type follows (either "global" or "user") then the template name. In the case of examples.log, the example name follows. Each part of the line is seperated by a tab.
Example templates.log:
2005-01-21 14:38:16 tom@flymine.org global employeesOfACertainAge 2005-01-21 14:51:07 anonymous global employeesOfACertainAge
