mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 21:55:56 +03:00
[PR #1023] [MERGED] Add ability to change log level #1125
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#1125
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fsouza/fake-gcs-server/pull/1023
Author: @RachitSharma2001
Created: 12/28/2022
Status: ✅ Merged
Merged: 12/28/2022
Merged by: @fsouza
Base:
main← Head:add_log_flag📝 Commits (1)
dc07c5fAdd ability to change log level📊 Changes
3 files changed (+23 additions, -3 deletions)
View changed files
📝
internal/config/config.go(+13 -3)📝
internal/config/config_test.go(+9 -0)📝
main.go(+1 -0)📄 Description
Addresses #932
Adds the
-log-levelflag. From my analysis, it seems like there really are only three kinds of logs made by the gcs server:main.goNonetheless, the user can specify, with a string, one of the 7 accepted levels from the logrus package: fatal, panic, error, warning, info, debug, or trace, and the appropriate log level will be set.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.