Skip to content

Conversation

@gjuggler
Copy link

A small quality-of-life improvement for client debugging, this change causes the CLI to create log files with a date-specific pattern. We retain the same per-file and total history filesize limit, as well as a new limit on the total # of archive files to retain.

Before:

Screen Shot 2021-12-13 at 4 26 59 PM

After:

Screen Shot 2021-12-13 at 4 23 49 PM

@gjuggler gjuggler requested review from yuhuyoyo and zloery December 14, 2021 14:28

private static final long MAX_FILE_SIZE = 5 * FileSize.MB_COEFFICIENT; // 5 MB
private static final int MAX_NUM_FILES = 5;
private static final long MAX_PER_FILE_SIZE = 10 * FileSize.MB_COEFFICIENT;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just to clarify, is the per file size doubled after the change? cuz the PR description says it's the same.

Copy link
Contributor

@zloery zloery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, pending Yu's question

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.

4 participants