Skip to content

MES-682: Better log levels#19

Merged
markovejnovic merged 10 commits intomainfrom
marko/mes-682-git-fs-logs-should-not-need-be-given-as-the-environment
Feb 5, 2026
Merged

MES-682: Better log levels#19
markovejnovic merged 10 commits intomainfrom
marko/mes-682-git-fs-logs-should-not-need-be-given-as-the-environment

Conversation

@markovejnovic
Copy link
Collaborator

No description provided.

When RUST_LOG is unset, default to info level with a minimal format
(no timestamps, targets, or span events). When RUST_LOG is explicitly
set, use the verbose developer format with full detail.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@markovejnovic markovejnovic force-pushed the marko/mes-682-git-fs-logs-should-not-need-be-given-as-the-environment branch from 7f3a985 to da55507 Compare February 5, 2026 20:44
- Downgrade 'latest version' check from info to debug (noise)
- Downgrade 'outdated version' from error to warn (not an error)
- Downgrade update-check failure messages from info to debug
- Promote daemon startup message to info with mount path
- Add 'git-fs is running' confirmation message

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@markovejnovic markovejnovic force-pushed the marko/mes-682-git-fs-logs-should-not-need-be-given-as-the-environment branch from da55507 to 05efdbb Compare February 5, 2026 20:44
markovejnovic and others added 8 commits February 5, 2026 12:46
Refactor Trc to use tracing_subscriber::reload::Layer wrapping a
type-erased fmt layer so the output format can be switched at runtime.
Trc::init() now returns a TrcHandle with a reconfigure() method.

In main.rs, after daemonize.start() succeeds the handle switches to
ugly mode before spawning the daemon. Remove unused tracing imports.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace CJK character with Pretty identifier
- Change reconfigure() to take TrcMode by value
- Fix variable naming
@markovejnovic markovejnovic merged commit 6d231b1 into main Feb 5, 2026
3 checks passed
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.

1 participant