Print Page | Close Window

log file request

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5468
Printed Date: 02 June 2025 at 9:02pm


Topic: log file request
Posted By: Guests
Subject: log file request
Date Posted: 29 January 2006 at 9:48pm

I see that there are ids on each line of the log file. Some of these ids seem consistant with certain actions and yet others do not. I often find the need to trace a message through the log from beginning to end and I can't seem to do this the way it is set up now. Would it be possible to have each message have a unique identifier (that maybe resets at midnight) so that each message can be traced through the log from beginnig to end?

 

thanks




Replies:
Posted By: LogSat
Date Posted: 30 January 2006 at 1:31pm
John,

SpamFilter is a multi-threaded application, so each task can be performed by a separate thread and ran concurrently with other tasks. Each ID that appears in the logs is a "thread ID" and shows what a particular thread is doing. Each email that arrives is processed by a single thread. So if you follow the logs and select all the lines with the same thread ID, from the "Connection" to the "Disconnect" event, you will have the "history" of an email from begin to finish. The messages that are forwarded to your mail server are handled by a separate thread, so the IDs for the forwarding will be different.

Windows re-used thread IDs when a thread terminates, so the same number may appear again in the logs.


-------------
Roberto Franceschetti

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP


Posted By: Guests
Date Posted: 30 January 2006 at 4:31pm

Ok, thanks.

I didn't realize that was how it was working. It's unfortunate that the ids get re-used, but I'll work with it.




Print Page | Close Window