[prev in list] [next in list] [prev in thread] [next in thread]
List: tmda-cvs
Subject: CVS: tmda/bin ChangeLog,1.212,1.213 tmda-filter,1.110,1.111
From: "Jason R. Mastaler" <jasonrm () users ! sourceforge ! net>
Date: 2002-06-27 17:55:46
[Download RAW message or body]
Update of /cvsroot/tmda/tmda/bin
In directory usw-pr-cvs1:/tmp/cvs-serv20445/bin
Modified Files:
ChangeLog tmda-filter
Log Message:
The message that got printed in the MTA log was often misunderstood.
Some user's didn't know to look in the ~/TMDA_DELIVERY_FAILURE for
debugging information.
delivery 6126: deferral: Exception_~/TMDA_DELIVERY_FAILURE/
The new message is (hopefully) more clear:
delivery 54: deferral: See_/home/jasonrm/TMDA_DELIVERY_FAILURE_for_traceback/
Suggested by Chris Garrigues in
<1025196637.14573.TMDA@deepeddy.vircio.com> on tmda-users.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda/bin/ChangeLog,v
retrieving revision 1.212
retrieving revision 1.213
diff -u -r1.212 -r1.213
--- ChangeLog 27 Jun 2002 03:17:57 -0000 1.212
+++ ChangeLog 27 Jun 2002 17:55:44 -0000 1.213
@@ -1,3 +1,7 @@
+2002-06-27 Jason R. Mastaler <jasonrm@nightshade.la.mastaler.com>
+
+ * tmda-filter: Cosmetic improvements.
+
2002-06-26 Jason R. Mastaler <jason@mastaler.com>
* tmda-pending (release): Rename any existing Delivered-To lines
Index: tmda-filter
===================================================================
RCS file: /cvsroot/tmda/tmda/bin/tmda-filter,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -r1.110 -r1.111
--- tmda-filter 27 Feb 2002 22:01:42 -0000 1.110
+++ tmda-filter 27 Jun 2002 17:55:44 -0000 1.111
@@ -64,7 +64,7 @@
from TMDA.Defaults import LOGFILE_DEBUG
if not LOGFILE_DEBUG:
raise NameError, 'LOGFILE_DEBUG is not defined'
- print 'Exception', LOGFILE_DEBUG
+ print 'See', LOGFILE_DEBUG, 'for traceback'
fp = open(LOGFILE_DEBUG, 'a')
except SystemExit:
@@ -72,9 +72,10 @@
except:
try:
- print 'Exception', '~/TMDA_DELIVERY_FAILURE'
+ failure_file = os.path.expanduser('~/TMDA_DELIVERY_FAILURE')
+ print 'See', failure_file, 'for traceback'
tb2 = sys.exc_info()
- fp = open(os.path.expanduser('~/TMDA_DELIVERY_FAILURE'), 'a')
+ fp = open(failure_file, 'a')
except SystemExit:
raise
@@ -85,8 +86,8 @@
if status:
try:
fline = ('%s (%s):' %
- ('Uncaught Python ' + sys.version.split()[0] + ' exception',
- time.asctime(time.gmtime(time.time())) + ' UTC'))
+ ('Uncaught Python ' + sys.version.split()[0] + ' Exception',
+ time.ctime(time.time())))
log_header = '\n%s\n%s\n' % (fline, '-' * len(fline))
fp.write(log_header)
for tb in (tb1, tb2, tb3):
____________________________________________
tmda-cvs mailing list
http://libertine.org/lists/listinfo/tmda-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic