-
Notifications
You must be signed in to change notification settings - Fork 299
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
Logging: Reduce amount of log-messages #743
Comments
Should warning be default for packaged releases? I think INFO is still a good default, but for production environments this should be warning tough. |
I agree on "Warning" as a reasonable default for productive settings. |
To fix this on a short term: Could be solved by replacing the number-of-messages approach by a time-based approach. After every |
@certtools/intelmq-contributors Any comments on my suggested solution in #743 (comment) ? |
Could this be a "Processed N Messages since last logging", an not be a total count? |
Good idea. And also send this message at shutdown if the number is non-zero. |
Whilst running our Test-System with approx 19 collectors + parsers and ~5 experts, we've noticed that the log-file directory will get very huge in a rather short amount of time. Since beginning of July we've collected approx. 11 GB Logfiles. Logrotation and zipping of logfiles is active.
The Loglevel in our setup is quite verbose (info), and should be set to warning. We suspect that this will create much less log-messages. In addition it will filter out the "Processed i+500 messages" messages. (IMHO This message should also be a debug one)
Nevertheless, we've noticed that the logfiles can be flooded with messages like "empty message received" For instance when redis has not been started. This message is added as a warning to all bots in this case an will be added to the log every X milliseconds.
Possible ToDos:
The text was updated successfully, but these errors were encountered: