Diff

spec/scansion/prosody.cfg.lua @ 11251:520b09bbbad5

scansion: Allow specifying a logfile for prosody via environment This should allow Buildbot to pick up those logs along with scansions
author Kim Alvefur <zash@zash.se>
date Tue, 05 Jan 2021 21:04:06 +0100
parent 11036:79e410cd7f6e
child 11309:b59aed75dc5e
line wrap: on
line diff
--- a/spec/scansion/prosody.cfg.lua	Tue Jan 05 20:04:07 2021 +0100
+++ b/spec/scansion/prosody.cfg.lua	Tue Jan 05 21:04:06 2021 +0100
@@ -114,7 +114,7 @@
 
 -- Logging configuration
 -- For advanced logging see https://prosody.im/doc/logging
-log = {debug = "*console" }
+log = {"*console",debug = ENV_PROSODY_LOGFILE}
 
 pidfile = "prosody.pid"