Changeset

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
parents 11250:d1351683dfe5
children 11252:ba335004ca60
files spec/scansion/prosody.cfg.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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"