Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Conversation

@oppiliappan
Copy link
Contributor

this changeset introduces persistent logging through the tracing-appender crate. logs are written into
<index_dir>/logs/bloop.log.YYYY-MM-DD-HH and rotated hourly. logs written to files are limited to the bleep crate.

this changeset introduces persistent logging through the
`tracing-appender` crate. logs are written into
`<index_dir>/logs/bloop.log.YYYY-MM-DD-HH` and rotated hourly. logs
written to files are limited to the `bleep` crate.
@oppiliappan
Copy link
Contributor Author

to confirm that cloud instances do not log into files; get a shell into the dev-cluster and list contents of the index directory:

root@bloop-akshay-764465888-7zxbz:/# ls data/
index  lost+found  repos

the absence of the logs directory indicates that logs are not being stored on disk.

@ggordonhall ggordonhall merged commit d0e5d78 into main Aug 3, 2023
@ggordonhall ggordonhall deleted the nerdypepper/persistent-logs branch August 3, 2023 10:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants