SYSCS_UTIL.SYSCS_GET_LOGGER_LEVEL

The SYSCS_UTIL.SYSCS_GET_LOGGER_LEVEL system procedure displays the logging level of the specified logger.

You can read more about Splice  Machine loggers and logging levels in the Logging topic of our Developer’s Guide.

Syntax

SYSCS_UTIL.SYSCS_GET_LOGGER_LEVEL(loggerName)

loggerName

A string specifying the name of the logger whose logging level you want to find.

You can find all of the available loggers by using the SYSCS_UTIL.SYSCS_GET_LOGGERS system procedure.

Results

The displayed results of calling SYSCS_UTIL.SYSCS_GET_LOGGER_LEVEL include these values:

   
Value Description
LOGLEVEL

The level of the logger. This is one of the following values, which are described in the Logging topic:

  • TRACE
  • DEBUG
  • INFO
  • WARN
  • ERROR
  • FATAL

Example

Here are two examples of using this procedure:

splice> CALL SYSCS_UTIL.SYSCS_GET_LOGGER_LEVEL('com.splicemachine.utils.SpliceUtilities');
LOG&
----
WARN

1 row selected

splice> CALL SYSCS_UTIL.SYSCS_GET_LOGGER_LEVEL('com.splicemachine.mrio.api');
LOGL&
-----
DEBUG

1 row selected

See Also