SPIN provides extensive Logging information to audit user activity.
By "extensive" we mean that SPIN logging features were designed to withstand "semi-trusted" investigators who could potentially attempt to conceal unwarranted investigations (publications).
- Logging Query Activity
- [Application Logging with Log4j|#log4j
Anchor | ||||
---|---|---|---|---|
|
Logging to Local Database
By default SPIN logs to a local memory resident database provided by the JDK called Derby.
You can override Derby and log to your own database (such as mysql) by providing a copy for your database provider:
TODO
SqlMapConfig.properties
LogEntrySqlMap.xml
spin-ibatis-logentry-create.sql
Anchor | ||||
---|---|---|---|---|
|
LOG4j
SPIN uses log4j to set the logging level (DEBUG, INFO, WARN, ERROR, FATAL) and set the output targets (FILE, CONSOLE).
...