liqd/adhocracy — pull request #256 by nidico (2013-03-03 15:05:43+00:00)
Title: Start lamson mail logger with supervisord (fixes #233)

Can someone please confirm that this is working on another machine than mine as well? The installation of lamson in `parts/site-packages` is a bit strange, but seems to be working.

Tnx!

---

This uses a custom method of starting lamson in logging mode, which does
not daemonize lamson [0].

Mailserver logs end up in `parts/mailserver/logs/logger.log` instead of
`var/log/lamson.log`. This could be changed by calling the stuff from
`lamson.utils.make_settings` manually, but I think it's not worth it.

[0] https://gist.github.com/nidico/5076333