mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 14:47:37 +03:00
loggingmanager: Make timestamps enabled by default in file sink (fixes #1004)
This commit is contained in:
parent
c42b40b07d
commit
4c39528a44
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ local function log_to_file(sink_config, logfile)
|
|||
|
||||
local timestamps = sink_config.timestamps;
|
||||
|
||||
if timestamps == true then
|
||||
if timestamps == true or timestamps == nil then
|
||||
timestamps = default_timestamp; -- Default format
|
||||
elseif timestamps then
|
||||
timestamps = timestamps .. " ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue