-
Notifications
You must be signed in to change notification settings - Fork 341
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
ipatests: keep default log level for 389-ds #1103
Conversation
@tbordaz Could you please review/ack? You can check any of the ds logs and verify the debug messages aren't there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The patch is fine to me. It could be an option (to keep good code) to change enable_replication_debugging into a generic function taking a log-level in param. Then calling it with level 0.
bc2d45a
to
5acd484
Compare
I agree it's better to keep the code. I've changed to PR to use log_level of 0 by default, but left the option to change it. |
LGTM too |
For some reason, it doesn't work properly. The replication messages are still in the ds error log, for example, see https://fedorapeople.org/groups/freeipa/prci/jobs/2df3b8ee-9eaa-11e7-8c70-fa163e566bda/test_integration-test_simple_replication.py-TestSimpleReplication--test_user_replication_to_replica/master.ipa.test/var/log/dirsrv/slapd-IPA-TEST/errors.gz |
Hmmm, maybe there is a test elsewhere that is causing this change? It looks like the loglevel is set correctly and the server initial is not logging, but suddenly it changes. You could use the DS audit log to try and track who triggered the change of the loglevel, but I think this patch and what it is "now" is good to merge. |
During integration tests, the log level of 8192 (replication debugging) was excessive and made reading 389-ds logs very hard without providing any useful information. Part of: https://pagure.io/freeipa/issue/7162 Signed-off-by: Tomas Krizek <tkrizek@redhat.com>
eb2fb30
to
443c91b
Compare
Based on comments above, I'm re-adding the ack. I'll keep the ticket open until the replication messages are no longer in ds log. |
master:
|
The log level of 8192 for 389-ds is very noisy and conceals useful debug
messages. The default log level 0 should be sufficient for our purposes.
Part of: https://pagure.io/freeipa/issue/7162
Signed-off-by: Tomas Krizek tkrizek@redhat.com