From 39af0e5f379484ad67144495fc8dfd351693d8f4 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 27 Dec 2012 20:44:58 +0100 Subject: core.loggingmanager: Don't create file log rules from [level] = "*sink" style config --- core/loggingmanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua index ce25b0e8..c3fc83e4 100644 --- a/core/loggingmanager.lua +++ b/core/loggingmanager.lua @@ -67,7 +67,7 @@ function apply_sink_rules(sink_type) for _, level in ipairs(logging_levels) do if type(logging_config[level]) == "string" then local value = logging_config[level]; - if sink_type == "file" then + if sink_type == "file" and not value:match("^%*") then add_rule({ to = sink_type; filename = value; -- cgit v1.2.3