fix(logging): disable insane amount of logging inside lvim.log (#2205)

This commit is contained in:
Abouzar Parvan 2022-01-23 13:11:18 +03:30 committed by GitHub
parent 869c953003
commit f0bcc8899f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -36,7 +36,7 @@ function Log:init()
{ level = structlog.formatters.FormatColorizer.color_level() }
),
}),
structlog.sinks.File(Log.levels.TRACE, logfile, {
structlog.sinks.File(log_level, logfile, {
processors = {
structlog.processors.Namer(),
structlog.processors.StackWriter({ "line", "file" }, { max_parents = 3, stack_level = 2 }),