Users specify when and what operations are logged according to set the Server log level. DBMaker provides seven log levels as follows:
Do not log at all: disables the log system
Log error, detail in DB_LGERR: logs errors and the default errors according to the logging level specified in Error log level
Log slow operation, detail in DB_LGSTM: logs operations that exceed the threshold specified by Log slow stmt over the number of seconds
Log error and slow operation: logs both errors (see Log error detail in DB_LGERR above) and slow operations (see Log slow operation, detail in DB_LGSTM above)
Log SQL, detail in DB_LGSQL:logs connects, disconnects, commits, rollbacks, SQL command executions, errors, and slow operations
Log all operation when exit: logs all operations during the exit process
Log all operation when exit/enter: logs all operations during the enter process and the exit process