[exim-dev] [Bug 391] please consider allowing multiple log_s…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Ted Cooper
Dátum:  
Címzett: exim-dev
Tárgy: [exim-dev] [Bug 391] please consider allowing multiple log_selector statements
------- You are receiving this mail because: -------
You are the QA contact for the bug.

http://bugs.exim.org/show_bug.cgi?id=391




--- Comment #4 from Ted Cooper <eximX0902w@???> 2009-03-08 22:38:23 ---
Since it's global, it means that it's read all at once by the time the file is
read - there can't be different modes of log selectors based on what part of
the file it's referenced as stated in the original WL item.

The log selectors can already be split up with with .ifdef, and can even be
.included in -

log_selector = +smtp_connection \
               +smtp_confirmation \
.ifdef GREYLISTD
               +smtp_no_mail \
               +smtp_protocol_error \
               +smtp_syntax_error \
.endif
.ifdef TLS_ENABLED
               +tls_cipher +tls_peerdn \
.endif
               +smtp_incomplete_transaction \
               +incoming_interface \
.include /etc/exim/other_file



They can't be modified as the file is parsed since all of that is done well
before that process starts accepting emails. An entirely new infrastructure
would have to be build to incorporate this which creates an enormous amount of
work for no benefit.

Conditional log selectors can be obtained already using something similar to
the example above. From the OP, there are many other global options required
for TLS to function which could be .included in some other file where they set
the MACRO TLS_ENABLED and subsequently include the log selectors.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email