mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Improve logging configuration
- Log levels of specific loggers can be defined in the config file (doesn't work with env variables) - Log events of background tasks carry now additional data
This commit is contained in:
@ -27,9 +27,7 @@ class MigrationTest
|
||||
PostgreSQLContainer.Def(DockerImageName.parse("postgres:14"))
|
||||
|
||||
override def docspellLogConfig: LogConfig =
|
||||
LogConfig(Level.Debug, LogConfig.Format.Fancy)
|
||||
|
||||
override def rootMinimumLevel = Level.Warn
|
||||
super.docspellLogConfig.docspellLevel(Level.Debug)
|
||||
|
||||
test("create schema") {
|
||||
withContainers { cnt =>
|
||||
|
@ -31,9 +31,7 @@ class PsqlFtsClientTest
|
||||
private val table = FtsRepository.table
|
||||
|
||||
override def docspellLogConfig: LogConfig =
|
||||
LogConfig(Level.Debug, LogConfig.Format.Fancy)
|
||||
|
||||
override def rootMinimumLevel = Level.Warn
|
||||
super.docspellLogConfig.docspellLevel(Level.Debug)
|
||||
|
||||
test("insert data into index") {
|
||||
withContainers { cnt =>
|
||||
|
Reference in New Issue
Block a user