Skip to content

feat(libstore): tie AWS CRT logging to Nix verbosity level#14637

Merged
Mic92 merged 1 commit intoNixOS:masterfrom
lovesegfault:aws-crt-cpp-log-level
Nov 24, 2025
Merged

feat(libstore): tie AWS CRT logging to Nix verbosity level#14637
Mic92 merged 1 commit intoNixOS:masterfrom
lovesegfault:aws-crt-cpp-log-level

Conversation

@lovesegfault
Copy link
Member

Motivation

Map Nix's verbosity levels to AWS CRT log levels so users can
debug SSO authentication issues without modifying code:

  • Default/warn: AWS Warn (errors/warnings only)
  • Chatty (-vvv): AWS Info (credential provider actions)
  • Debug (-vvvv): AWS Debug (detailed auth flow)
  • Vomit (-vvvvv): AWS Trace (full CRT internal tracing)

This makes it easy to diagnose SSO issues with:
nix copy -vvvv --to s3://bucket?profile=foo ...

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Map Nix's verbosity levels to AWS CRT log levels so users can
debug SSO authentication issues without modifying code:

- Default/warn: AWS Warn (errors/warnings only)
- Chatty (-vvv): AWS Info (credential provider actions)
- Debug (-vvvv): AWS Debug (detailed auth flow)
- Vomit (-vvvvv): AWS Trace (full CRT internal tracing)

This makes it easy to diagnose SSO issues with:
  nix copy -vvvv --to s3://bucket?profile=foo ...
@Mic92 Mic92 enabled auto-merge November 24, 2025 22:06
@Mic92 Mic92 added this pull request to the merge queue Nov 24, 2025
Merged via the queue into NixOS:master with commit 3e9104c Nov 24, 2025
16 checks passed
@lovesegfault lovesegfault deleted the aws-crt-cpp-log-level branch November 25, 2025 17:49
@edolstra edolstra mentioned this pull request Dec 9, 2025
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.

3 participants