# HG changeset patch # User Kim Alvefur # Date 1356637498 -3600 # Node ID 1e555909f23df375cf210566f6a868a4e0153bca # Parent 20e14961f6307f4f6de9e579dda15554e5f13a5c core.loggingmanager: Don't create file log rules from [level] = "*sink" style config diff -r 20e14961f630 -r 1e555909f23d core/loggingmanager.lua --- a/core/loggingmanager.lua Wed Dec 26 02:46:49 2012 +0100 +++ b/core/loggingmanager.lua Thu Dec 27 20:44:58 2012 +0100 @@ -67,7 +67,7 @@ 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;