# HG changeset patch # User Goffi # Date 1456499341 -3600 # Node ID 349cbfea2596d7cca94ed8eb9f41e39589a5b484 # Parent 6e6274aa3916ff9155e2dd03744316d9b14da5d3 docker (prosody): restored logs in /var/log + info logs to console diff -r 6e6274aa3916 -r 349cbfea2596 docker/prosody/prosody.cfg.lua --- a/docker/prosody/prosody.cfg.lua Fri Feb 26 11:33:35 2016 +0100 +++ b/docker/prosody/prosody.cfg.lua Fri Feb 26 16:09:01 2016 +0100 @@ -126,7 +126,12 @@ -- expose the port! It's just for linked containers) component_interface="0.0.0.0" --- we want default, unsplitted logs, so we have removed all logging stuff +log = { + -- Log to files and console (change 'info' to 'debug' for debug logs): + info = "/var/log/prosody/prosody.log"; + error = "/var/log/prosody/prosody.err"; + info = "*console"; -- Log to the console, so "docker logs" will show them +} VirtualHost (domain) privileged_entities = {