SA Bugzilla – Bug 7738
separate log per message
Last modified: 2019-07-19 16:36:59 UTC
It would be useful if spamd had an option to log the debug processing it does while processing a message in a "file per message" format so that instead of one big log file, one had a (big) dir of logs, one per message. The message-id: header might be a good file name for the logs. So maybe if the -s argument were a directory, rather than a file, that would indicate to spamd that one desires this format.
Interesting concept, although normally each file would be tiny. Are you thinking about this as an adjunct to running spamd with debug (-D) flags?
Ah, yes. Sorry I was not more clear about that. You are right, in normal operations there wouldn't be much in them, but yes, indeed, when used with debugging enabled, like say to figure out why spams are not being identified, being able to view the debugging for just a single spam in a single file would be very useful.