-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add bytes sent to query log message #167
Comments
We can lower this to DEBUG easily. However, my understanding was that currently NTT logs all queries in production? That would make it fit INFO level, as that's the recommended level for production. |
Hmm, good point. The bytes sent is kind of interesting too. |
We could also log the length of the response, at either INFO or DEBUG. Not sure what it would be useful for, but it's fairly easy to add. |
Leaving the received query, and adding the response length at INFO would be the consistent with irrd2. |
We now have elapsed time, I can add the length of the response. Both the message that a query is being processed, and the time it took are now logged at INFO level. I strongly advise against removing the "processing query" part before a command - if I understood that suggestion right - logs of IRRd 4 are not compatible with IRRd 2 in many other places. |
In irrd-4.0.0rc1
irrd is wasting time (and space) logging thousands of "received query" INFO messages.
The text was updated successfully, but these errors were encountered: