Reduce leap-mx log messages
here's an example of the log output done by leap-mx for a single mail:
root@antelope:~# zgrep '^Feb 29 16:20:3' /var/log/leap/mx.log.3.gz Feb 29 16:20:34 antelope leap-mx: [LEAPPostfixTCPMapAliasServer,42,0.0.0.0] virtual alias map: lists.riseup.net Feb 29 16:20:34 antelope leap-mx: [LEAPPostfixTCPMapAliasServer,42,0.0.0.0] Starting factory Feb 29 16:20:34 antelope leap-mx: [HTTP11ClientProtocol,client] Stopping factory Feb 29 16:20:35 antelope leap-mx: [LEAPPostFixTCPMapAccessServer,11,0.0.0.0] check recipient access: mcnair09mac@mail.bitmask.net Feb 29 16:20:35 antelope leap-mx: [LEAPPostFixTCPMapAccessServer,11,0.0.0.0] Starting factory Feb 29 16:20:35 antelope leap-mx: [HTTP11ClientProtocol,client] Stopping factory Feb 29 16:20:35 antelope leap-mx: [LEAPPostfixTCPMapAliasServer,43,0.0.0.0] virtual alias map: mcnair09mac@mail.bitmask.net Feb 29 16:20:35 antelope leap-mx: [LEAPPostfixTCPMapAliasServer,43,0.0.0.0] Starting factory Feb 29 16:20:35 antelope leap-mx: [HTTP11ClientProtocol,client] Stopping factory Feb 29 16:20:35 antelope leap-mx: [LEAPPostfixTCPMapAliasServer,44,0.0.0.0] virtual alias map: mcnair09mac@mail.bitmask.net Feb 29 16:20:35 antelope leap-mx: [LEAPPostfixTCPMapAliasServer,44,0.0.0.0] Starting factory Feb 29 16:20:35 antelope leap-mx: [HTTP11ClientProtocol,client] Stopping factory Feb 29 16:20:35 antelope leap-mx: [LEAPPostfixTCPMapAliasServer,44,0.0.0.0] virtual alias map: aa6bdb6db975ec30e8f1fc82a99f0648@deliver.local Feb 29 16:20:35 antelope leap-mx: [LEAPPostfixTCPMapAliasServer,44,0.0.0.0] Starting factory Feb 29 16:20:35 antelope leap-mx: [HTTP11ClientProtocol,client] Stopping factory Feb 29 16:20:35 antelope leap-mx: [LEAPPostfixTCPMapAliasServer,42,0.0.0.0] virtual alias map: deliver.local Feb 29 16:20:35 antelope leap-mx: [LEAPPostfixTCPMapAliasServer,42,0.0.0.0] Starting factory Feb 29 16:20:35 antelope leap-mx: [HTTP11ClientProtocol,client] Stopping factory Feb 29 16:20:35 antelope leap-mx: [-] Processing new mail at '/var/mail/leap-mx/Maildir/new/1456762835.Vca01I181a800bM504600.antelope' Feb 29 16:20:35 antelope leap-mx: [-] Mail owner: aa6bdb6db975ec30e8f1fc82a99f0648 Feb 29 16:20:35 antelope leap-mx: [-] Starting factory Feb 29 16:20:35 antelope leap-mx: [HTTP11ClientProtocol,client] Encrypting message to aa6bdb6db975ec30e8f1fc82a99f0648's pubkey Feb 29 16:20:36 antelope leap-mx: [HTTP11ClientProtocol,client] Exporting message for aa6bdb6db975ec30e8f1fc82a99f0648 Feb 29 16:20:36 antelope leap-mx: [HTTP11ClientProtocol,client] ----------------------> put dock: Feb 29 16:20:36 antelope leap-mx: [HTTP11ClientProtocol,client] Something went wrong while processing FilePath('/var/mail/leap-mx/Maildir/new/1456762835.Vca01I181a800bM504600.antelope'): CouchDBError(None,) Feb 29 16:20:36 antelope leap-mx: [HTTP11ClientProtocol,client] Stopping factory
Please reduce the logging in non-debug mode, i.e. all 'Starting/Stopping factory' msgs should not be logged:
Feb 29 16:20:34 antelope leap-mx: [LEAPPostfixTCPMapAliasServer,42,0.0.0.0] Starting factory Feb 29 16:20:34 antelope leap-mx: [HTTP11ClientProtocol,client] Stopping factory
(from redmine: created on 2016-03-03)