Skip to content

Conversation

@mara-schulke
Copy link
Contributor

@mara-schulke mara-schulke commented Jan 7, 2026

This merge request is introducing a verbose mode to buffrs which allows debug logs to be output with level, src file, location, and a random prefix (to distinguish multiple parallel buffrs invocations from eachother).

Example output without verbose mode (stays as is):

:: installed foo-package@0.1.0

Example output in verbose mode:

[6fed92f2] INFO  src/operations/installer.rs:310 buffrs::operations::installer: installed foo-package@0.1.0
[6fed92f2] INFO  src/operations/installer.rs:155 buffrs::operations::installer: running install for package: bar-package
[6fed92f2] INFO  src/operations/installer.rs:250 buffrs::operations::installer: bar-package@0.1.0
[6fed92f2] DEBUG src/resolver.rs:374 buffrs::resolver: resolved bar-package@0.1.0 from local cache
[6fed92f2] DEBUG src/operations/installer.rs:399 buffrs::operations::installer: using workspace lockfile version for bar-package@0.1.0
[6fed92f2] DEBUG src/package/store.rs:145 buffrs::package::store: unpacked bar-package@0.1.0 into foo-package/proto/vendor/bar-package

This allows to debug and fix issues in production builds. Verbose output can also be toggled via BUFFRS_VERBOSE=true so that all subsequent buffrs commands output debug info (useful in CI).

@mara-schulke mara-schulke self-assigned this Jan 7, 2026
@mara-schulke mara-schulke added complexity::low Issues or ideas with a low implementation cost component::cli Everything related to the buffrs cli type::refactoring Changing the inner-workings of buffrs priority::low Please dont work on this if you can contribute something with a higher priority type::fix labels Jan 7, 2026
@mara-schulke mara-schulke added this to the User Experience milestone Jan 7, 2026
@mara-schulke mara-schulke requested a review from markusz January 7, 2026 15:44
@mara-schulke mara-schulke enabled auto-merge January 8, 2026 10:55
@mara-schulke mara-schulke merged commit 7a4ba8e into main Jan 8, 2026
7 checks passed
@mara-schulke mara-schulke deleted the mara/verbose branch January 8, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

complexity::low Issues or ideas with a low implementation cost component::cli Everything related to the buffrs cli priority::low Please dont work on this if you can contribute something with a higher priority type::fix type::refactoring Changing the inner-workings of buffrs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants