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

db: change log directory format to use hash prefix #246

Merged
merged 1 commit into from
Jan 19, 2023
Merged

Conversation

wwade
Copy link
Owner

@wwade wwade commented Jan 19, 2023

Instead of dumping all the logs into a single directory, use an 8-bit hex-encoded prefix for each log file, e.g.

log/7a/somefile.log
log/33/otherfile.log

This avoids slowing down things like directory browsers, ls, etc.

Instead of dumping all the logs into a single directory, use an 8-bit hex-encoded
prefix for each log file, e.g.

    log/7a/somefile.log
    log/33/otherfile.log

This avoids slowing down things like directory browsers, ls, etc.
@wwade wwade enabled auto-merge January 19, 2023 20:16
@wwade wwade merged commit 2369f5b into main Jan 19, 2023
@wwade wwade deleted the job-log-dir branch January 19, 2023 21:28
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.

None yet

1 participant