Skip to main content

Changing the log level temporarily

For general information about logs, see see Logging.

Note

Known issue DEV-33453: Databricks Writer ignores SET LOGLEVEL changes while it the adapter is running.

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';

When you change the LOGLEVEL, messages for that level will be written to striim.server.clidebug.log (see Logging).

Alternatively, you may change the level for a specific class or package that writes to the logs, for example:

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

This command will not work for any class beloning to Databricks Writer (DeltaLake Writer).

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

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