Skip to content
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

Enhance Log Message Formatting for Byte Display with Decimal Precision #2791

Closed
marevol opened this issue Dec 29, 2023 · 0 comments
Closed
Assignees
Milestone

Comments

@marevol
Copy link
Contributor

marevol commented Dec 29, 2023

We've updated the function used for log messages to display byte counts with decimal precision. This enhancement allows for more accurate and detailed representation of data sizes in logs. The modifications involve changes to MemoryUtil.java, where we've incorporated additional imports for handling larger units of bytes (EB, PB, TB, GB, MB, KB) and included logic for decimal precision display. This adjustment ensures that byte counts are no longer rounded to the nearest unit but are displayed with their exact size in the appropriate unit, down to the decimal point. This update will be particularly useful for precise monitoring and logging of data usage and storage requirements.

@marevol marevol added this to the 14.12.0 milestone Dec 29, 2023
@marevol marevol self-assigned this Dec 29, 2023
marevol added a commit that referenced this issue Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant