Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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).

  1. Logging Query Activity
  2. [Application Logging with Log4j|#log4j

Anchor
database_logging
database_logging


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
log4j
TODO: clint can you doc the SPIN audit procedures?


LOG4j

SPIN uses log4j to set the logging level (DEBUG, INFO, WARN, ERROR, FATAL) and set the output targets (FILE, CONSOLE).

...