Skip to main content

Changing the log level

The log level may be changed temporarily without restarting the server by using the SET LOGLEVEL  Striim console command. This command is available only to users with the Global:admin privilege. The syntax is:

SET LOGLEVEL = '{ OFF | FATAL | ERROR | WARN | INFO | DEBUG | TRACE | ALL }';

For example:

SET LOGLEVEL = 'DEBUG';

Alternatively, you may change the level for a specific class that writes to the logs, for example (note that when specifying a class, { and } are to be included in the command):

SET LOGLEVEL = {com.webaction.metaRepository.MetadataRepository : debug};

The log level will be reset to its default when the server is restarted. To change the log level permanently, see Setting the log levels

Note

Debug-level UserCommandLogger messages, since they are often necessary for troubleshooting, are always written to striim.server.log, regardless of the log level setting.

Known issue (DEV-36593): Snowflake Writer ignores SET LOGLEVEL.