You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2022/01/31 00:42:55 UTC

[incubator-ponymail-foal] branch master updated: Show source id

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new 19a0efb  Show source id
19a0efb is described below

commit 19a0efb9e31e2dd12ca50aaac9a1fe10925c31ab
Author: Sebb <se...@apache.org>
AuthorDate: Mon Jan 31 00:42:46 2022 +0000

    Show source id
---
 tools/import-mbox.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index cca79ce..dd4c0c4 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -408,7 +408,7 @@ class SlurpThread(Thread):
                     count += 1
                     if args.verbose and verbose_logger:
                         # TODO optionally show other fields (e.g. From_ line)
-                        verbose_logger.info("MID:%(mid)s MSGID:%(message-id)s", json)
+                        verbose_logger.info("MID:%(mid)s DBID: %(dbid)s MSGID:%(message-id)s", json)
 
                     # Nothing more to do if dry run
                     if args.dry: