Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: dev

[Bug 391] please consider allowing multiple log_selector statements

 

 

exim dev RSS feed   Index | Next | Previous | View Threaded


eximX0902w at linuxwan

Mar 8, 2009, 6:10 AM

Post #1 of 3 (805 views)
Permalink
[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 #2 from Ted Cooper <eximX0902w[at]linuxwan.net> 2009-03-08 13:10:16 ---
log_selector is a global setting.

This hasn't been touched in a long time and no one else has piped up for it.
Does anyone else see any benefit at all in being able to adjust a global
logging setting based on ACL decisions? log_message allows logging of pretty
much any extra data you could ever want.

In my mind, you either always the log the things you want, or kick yourself for
not logging them when you need them. Hard drive room is cheap - if someone
really doesn't want all the XX log entires regarding TLS from YY host, filter
them out at the end of the day before rotating the logs.

I hereby vote to resolve this bug as WONTFIX.


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

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##


bugzilla.exim.simon at arlott

Mar 8, 2009, 6:32 AM

Post #2 of 3 (755 views)
Permalink
[Bug 391] please consider allowing multiple log_selector statements [In reply to]

------- You are receiving this mail because: -------
You are the QA contact for the bug.

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

Simon Arlott <bugzilla.exim.simon[at]arlott.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla.exim.simon[at]arlott.o
| |rg




--- Comment #3 from Simon Arlott <bugzilla.exim.simon[at]arlott.org> 2009-03-08 13:32:32 ---
(In reply to comment #2)
> log_selector is a global setting.

I don't think this request intends to change that. It's currently not possible
to specify log_selector multiple times; you must always specify the full set of
options. It's not possible to .include a common list of log_selector options
and then modify them, or split them up within different sections of the main
part of the configuration file.


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

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##


eximX0902w at linuxwan

Mar 8, 2009, 3:38 PM

Post #3 of 3 (744 views)
Permalink
[Bug 391] please consider allowing multiple log_selector statements [In reply to]

------- 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[at]linuxwan.net> 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

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

exim dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.