Mercurial > sat_docs
comparison docker/prosody/prosody.cfg.lua @ 98:349cbfea2596
docker (prosody): restored logs in /var/log + info logs to console
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 26 Feb 2016 16:09:01 +0100 |
parents | 5824dee4ea2b |
children |
comparison
equal
deleted
inserted
replaced
97:6e6274aa3916 | 98:349cbfea2596 |
---|---|
124 | 124 |
125 -- we listen to the world for components (but we do *NOT* | 125 -- we listen to the world for components (but we do *NOT* |
126 -- expose the port! It's just for linked containers) | 126 -- expose the port! It's just for linked containers) |
127 component_interface="0.0.0.0" | 127 component_interface="0.0.0.0" |
128 | 128 |
129 -- we want default, unsplitted logs, so we have removed all logging stuff | 129 log = { |
130 -- Log to files and console (change 'info' to 'debug' for debug logs): | |
131 info = "/var/log/prosody/prosody.log"; | |
132 error = "/var/log/prosody/prosody.err"; | |
133 info = "*console"; -- Log to the console, so "docker logs" will show them | |
134 } | |
130 | 135 |
131 VirtualHost (domain) | 136 VirtualHost (domain) |
132 privileged_entities = { | 137 privileged_entities = { |
133 ["pubsub."..domain] = { | 138 ["pubsub."..domain] = { |
134 roster = "get"; | 139 roster = "get"; |