sympa-community / sympa

Sympa, Mailing List Management Software
https://www.sympa.community/sympa
GNU General Public License v2.0
243 stars 96 forks source link

Add support for logging to file w/o going through syslog #53

Open xavierba opened 7 years ago

xavierba commented 7 years ago

Sympa default configuration logs to syslog facility local1. One needs to configure the local syslogger to have sympa write to, say, /var/log/sympa.log, then restart the syslogger to get any log. It would be nice to be able to log directly to a file, while still retaining the capability to use a syslogger.

ikedas commented 6 years ago

How about use of log4perl or similar packages?

xavierba commented 6 years ago

log4perl with Log::Dispatch should allow for a lot of flexibility.

mitar commented 1 year ago

I would also prefer if sympa would log to stdout, preferably as JSON.