mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
prosodyctl: Force log output always to the console instead of using the config, which avoids creating log files as the wrong user
This commit is contained in:
parent
8db4e7e0b2
commit
9dfb2ebfb4
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ do
|
|||
end
|
||||
end
|
||||
|
||||
config.set("*", "core", "log", { { levels = { min="info" }, to = "console" } });
|
||||
|
||||
require "core.loggingmanager"
|
||||
|
||||
if not require "util.dependencies".check_dependencies() then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue