Setting log level for JobRunr

193 Views Asked by At

I am using the JobRunr framework, but cannot set the log level, which is "DEBUG" by default.

Did Google research, but to no avail.

This is how I initialize JobRunr:

JobRunr.configure().useStorageProvider(new InMemoryStorageProvider()).useBackgroundJobServer().initialize();

1

There are 1 best solutions below

0
rdehuyss On BEST ANSWER

JobRunr uses the default log level you setup using SLF4J.

If you add a SLF4J implementation (e.g. logback), you can configure everything using logback.xml or via spring boot.