Skip to content

Fix issue with maxfilesize metric convention showing error with zk commands #202

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

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

tr0k
Copy link
Contributor

@tr0k tr0k commented Jan 22, 2025

This solves issues like this when we don't overwrite the default audit_maxfilesize value when audit logs are enabled in the module:
$ zookeeper-client (...) 16:40:52,003 |-ERROR in ch.qos.logback.core.joran.util.PropertySetter@3d921e20 - Failed to invoke valueOf{} method in class [ch.qos.logback.core.util.FileSize] with value [10M] 16:40:52,004 |-WARN in ch.qos.logback.core.joran.util.PropertySetter@3d921e20 - Failed to set property [MaxFileSize] to value "10M". ch.qos.logback.core.util.PropertySetterException: Conversion to type [class ch.qos.logback.core.util.FileSize] failed. at ch.qos.logback.core.util.PropertySetterException: Conversion to type [class ch.qos.logback.core.util.FileSize] failed.

@deric deric merged commit 5ea1f7d into deric:master Jan 22, 2025
13 checks passed
@deric
Copy link
Owner

deric commented Jan 22, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants