aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/loggingmanager.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua
index ea0f497d..58108a23 100644
--- a/core/loggingmanager.lua
+++ b/core/loggingmanager.lua
@@ -86,6 +86,9 @@ function apply_sink_rules(sink_type)
add_rule(sink_config);
sink_config.filename = nil;
end
+ elseif type(logging_config) == "string" and logging_config:match("^%*(.+)") == sink_type then
+ -- Log all levels (debug+) to this sink
+ add_rule({ levels = { min = "debug" }, to = sink_type });
end
end