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

standalone: allow overriding log level from CLI #598

Merged
merged 3 commits into from
Jan 10, 2024
Merged

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Jan 10, 2024

Currently, propolis-standalone hard-codes the maximum slog log level to Info. Since propolis-standalone is intended for development use, it may sometimes be useful to enable more verbose logging. Therefore, this branch adds a --log-level CLI argument to allow overriding the maximum log level filter. The PROPOLIS_LOG environment variable may also be used to configure the log level.

Currently, `propolis-standalone` hard-codes the maximum `slog` log level
to `Info`. Since `propolis-standalone` is intended for development use,
it may sometimes be useful to enable more verbose logging. Therefore,
this branch adds a `--log-level` CLI argument to allow overriding the
maximum log level filter. The `PROPOLIS_LOG` environment variable may
also be used to configure the log level.
@hawkw hawkw requested review from pfmooney and gjcolombo January 10, 2024 20:16
@hawkw hawkw marked this pull request as ready for review January 10, 2024 20:16
@hawkw hawkw merged commit 398dc5b into master Jan 10, 2024
10 checks passed
@hawkw hawkw deleted the eliza/log-level branch January 11, 2024 00:05
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.

2 participants