Hello Alexander S. Kunz, Greg & others,

on Thu, 10 Nov 2005 23:40:44 +0100 (2005-11-10 23:40:44 in .nl) in the
message with reference <mid:[EMAIL PROTECTED]>
you [AK] wrote (at least in part):

ASK> If I understand the logging function correctly, it logs communication with
ASK> the server. If TB can't connect to the server, there's nothing to log,
ASK> isn't it?

If I remember correctly (...) the possibility to enable "Whatever
Protocol" log files were introduced at first due to (requests for)
IMAP trace/debug purposes.

I don't have connection problems worth mentioning, usually.

As a programmer, I'd say traces of successful actions are nice to
know, informative. Traces of failing actions are much more informative
though.

Ok, the "Whatever Protocol" logging may assume it only logs successful
connections, which, as mentioned before, are nice to know,
informative.

But, who's interested in successful connections only, if one has a
problem.

One wants to know when the email client _tried_ to setup a connection
to a server (date, time, IP/name, port, whatever else is important).

Then report if it was successful, log interaction, like:

[yyyymmdd] [21:17:24.mmm]  C: Trying to connect to 192.168.0.3, port 25
[yyyymmdd] [21:17:24.mmm]  C: Connected to 192.168.0.3, port 25
... other stuff
[yyyymmdd] [21:17:25.mmm]  S: 221 <server> <program> Server Closing Connection
[yyyymmdd] [hh:MM:ss.mmm]  C: Connection successfully closed


If not successful, also report such, including error details.

[yyyymmdd] [21:17:24.mmm]  C: Trying to connect to 192.168.0.3, port 25
[yyyymmdd] [hh:MM:dd:mmm]  C: Could not connect to the server
... whatever is important / helpful
[yyyymmdd] [hh:MM:ss:sss]  C: Closing connection / terminating attempt
                              (or whatever, as long as it's clear)


Saves people some headaches, comparing files with(out) date/time
stamps, finding when TB did(n't) connect or not.

I sure hope the importance of the _not_ / _fail_ part is somewhat
clear by now.


-- 
Kind regards,
Peter Ouwehand
- - -
Using
A program which insists to be           : The Bat! V3.62.13 (Beta) (Home)
An anti-spam filter which insists to be : Bayes Filter Plugin v2.0.3 
An OS which insists to be               : Windows 2000 5.0 Build 2195 Service 
Pack 4
Multiple POP3, one gmail.com, one fastmail.fm IMAP



________________________________________________________
 Current beta is 3.62.14 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html
IMPORTANT: To register as a Beta tester, use this link first -
http://www.ritlabs.com/en/partners/testers/

Reply via email to