diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-03-07 19:28:12 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-03-07 19:28:12 +0000 |
commit | 1eeeaf731844a81f039d4b1cab6cdfe20d8d0e30 (patch) | |
tree | bb835f778873fd1c69a799a603f9bd1845d0fd35 /prosody | |
parent | 2509fd597845eeedd3d66a13105a6d958ba68e8d (diff) | |
download | prosody-1eeeaf731844a81f039d4b1cab6cdfe20d8d0e30.tar.gz prosody-1eeeaf731844a81f039d4b1cab6cdfe20d8d0e30.zip |
prosody: Load logger after reading the config
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -32,10 +32,6 @@ pcall(require, "luarocks.require") config = require "core.configmanager" -log = require "util.logger".init("general"); - --- Disable log output, needs to read from config --- require "util.logger".setwriter(function () end); do -- TODO: Check for other formats when we add support for them @@ -63,6 +59,11 @@ do end end +log = require "util.logger".init("general"); + +-- Disable log output, needs to read from config +-- require "util.logger".setwriter(function () end); + require "util.dependencies" local server = require "net.server" |