[Rspamd-Users] How to write custom logfile

Carsten Rosenberg cr at ncxs.de
Thu Jan 17 13:11:44 UTC 2019


Hey,

maybe you should have a look to journald filters or custom fields.

As for rsyslog, it is somehow possible to filter logs into separate
files in the config.

br

Carsten

On 16.01.19 15:58, Marc Risse wrote:
> Hi list,
> 
> I would like to log each mail with all symbols (symbols_scores_params)
> to a separate file but I don't know where to start without touching the
> normal rspamd logging. How can I define "filename", "type" and so on
> twice?.  I've got a stupid workaround with cron and elasticsearch, but
> rspamd should be right place to write this log. Any tips, examples or
> ideas?
> 
> Best,
> Marc
> 
> 


More information about the Users mailing list