Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
11250:d1351683dfe5 | 11251:520b09bbbad5 |
---|---|
112 --sql = { driver = "PostgreSQL", database = "prosody", username = "prosody", password = "secret", host = "localhost" } | 112 --sql = { driver = "PostgreSQL", database = "prosody", username = "prosody", password = "secret", host = "localhost" } |
113 | 113 |
114 | 114 |
115 -- Logging configuration | 115 -- Logging configuration |
116 -- For advanced logging see https://prosody.im/doc/logging | 116 -- For advanced logging see https://prosody.im/doc/logging |
117 log = {debug = "*console" } | 117 log = {"*console",debug = ENV_PROSODY_LOGFILE} |
118 | 118 |
119 pidfile = "prosody.pid" | 119 pidfile = "prosody.pid" |
120 | 120 |
121 VirtualHost "localhost" | 121 VirtualHost "localhost" |
122 | 122 |