-
-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connection: add MAIL and RCPT to results #1021
Conversation
Sorry - I don't like this. If you're scraping logs or using something like Splunk (probably Logstash too), then having a log format that is the same for every instance of that log line is desirable and this changes it completely depending on conditions. Quite often I do things like this:
That becomes impossible after these changes. I also don't like it logging under You're also not quoting strings so; You appear to have found a bug somewhere as Logging changes should be treated like API changes and things that fundamentally change the format should only be done on a major version bump, documented and warned about accordingly. Adding a new |
My main concern is getting the data into ResultStore so that it ends up in Elasticsearch. Perhaps another solution is to leave the existing lognotice lines in place and turn off the |
As long as the logging remains as it is and we still have the existing counters; then I've got no problem at all with adding this stuff to ResultStore as it seems like a pretty sensible thing to do. I've found the cause of the |
Is removing the empty msg="" strings okay? |
No - sorry. |
* store recipients in results_store * move rcpt incrementing into rcpt_incr, which also saves to results replaces 10 of these: this.transaction.rcpt_count[action]++; this.rcpt_count[action]++; with 10 of this: this.rcpt_incr('accept'); This change drains some of the impetus behind #945
Log message affecting changes have been removed. |
connection: add MAIL and RCPT to results
replaces 10 of these:
with 10 of this:
This change drains some impetus for #945