#1004 Timestamps not enabled by default in file logging with advanced config in 0.10
Reporter
MattJ
Owner
Zash
Created
Updated
Stars
★ (1)
Tags
Status-Fixed
Type-Defect
Priority-Medium
Milestone-0.10
MattJ
on
What steps will reproduce the problem?
1. Use advanced logging config (e.g. log = { { levels = { "error" }; to = "file"; filename = "/var/log/prosody/prosody.err"; }; }
2. Use 0.9, timestamps are added at the start of every line
3. Use 0.10, timestamps are not logged
Timestamps were enabled by default for file sinks in ca74a6a38dfb.
This regression was introduced in b7b6b1d01224.
What steps will reproduce the problem? 1. Use advanced logging config (e.g. log = { { levels = { "error" }; to = "file"; filename = "/var/log/prosody/prosody.err"; }; } 2. Use 0.9, timestamps are added at the start of every line 3. Use 0.10, timestamps are not logged Timestamps were enabled by default for file sinks in ca74a6a38dfb. This regression was introduced in b7b6b1d01224.
Fixed in https://hg.prosody.im/0.10/rev/45383e071ded
Changes