[exim-dev] [Bug 2434] New: information about time from start…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 2434] information about time from start of smtp connection exists only for some log messages
Subject: [exim-dev] [Bug 2434] New: information about time from start of smtp connection exists only for some log messages
https://bugs.exim.org/show_bug.cgi?id=2434

            Bug ID: 2434
           Summary: information about time from start of smtp connection
                    exists only for some log messages
           Product: Exim
           Version: 4.92
          Hardware: x86
                OS: All
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: Logging
          Assignee: nigel@???
          Reporter: arekm@???
                CC: exim-dev@???


While watching smtp logs I noticed that some have D= time (which is
string_timesince(&smtp_connection_start)) while others do not have that
information.

Examples:

These have D= time:

2019-08-21 05:34:29.245 [933] SMTP connection from (divers) [1.2.3.4]:44598
I=[4.3.2.1]:587 lost D=0.387s

2019-08-21 05:34:29.363 [773] no MAIL in SMTP connection from ([1.2.3.4])
[1.2.3.4]:52505 I=[4.3.2.1]:25 D=3.013s C=EHLO,AUTH


And these don't:

2019-08-21 05:34:29.148 [620] SMTP connection from [1.2.3.4]:15688
I=[4.3.2.1]:465 closed by DROP in ACL

2019-08-21 05:34:27.838 [852] SMTP connection from (www.example.com)
[1.2.3.4]:43236 I=[4.3.2.1]:587 closed by QUIT

(probably there are other messages in source code being good candidates for
adding D=, too but in my log I have only these above)

This wishlist is about making all smtp messages to have D= time information
logged.

--
You are receiving this mail because:
You are on the CC list for the bug.