aboutsummaryrefslogtreecommitdiffstats
path: root/util/logger.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/logger.lua')
-rw-r--r--util/logger.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/logger.lua b/util/logger.lua
index 148b98dc..ad6921a1 100644
--- a/util/logger.lua
+++ b/util/logger.lua
@@ -72,7 +72,7 @@ local function add_level_sink(level, sink_function)
end
local function add_simple_sink(simple_sink_function, levels)
- local format = require "util.format".format;
+ local format = require "prosody.util.format".format;
local function sink_function(name, level, msg, ...)
return simple_sink_function(name, level, format(msg, ...));
end