Logging

OpenCabinet uses java.util.logging for its logging output.

OpenCabinet logging

net.sf.opencabinet.core

info DDL

fine changeset commits creation/deletion of (non-temporary) files

finer persists saves

finest loads

SQL trace logging

net.sf.opencabinet.sql

fine UPDATE: formatted SQL tree

finer SELECT: formatted SQL tree UPDATE: SQL statements

finest SELECT: SQL statements

Configuring logging output

For applications that support it (such as the command line admin tool), you can control the log levels in opencabinet.properties:

# the OpenCabinet loggers
logging.net.sf.opencabinet.core.level = ALL
logging.net.sf.opencabinet.sql.level = FINER

# some other logger
logging.some.other.logger.level = INFO

# the default level
logging.level = ALL

In the absence of these settings, logging configuration defaults to the standard java.util.logging settings.