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

Remove Logger.warn calls (round 2) #197

Merged
merged 2 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ config :prima_auth0_ex, :server,
# Defaults to false.
ignore_signature: false,
# Level used to log requests where the authorization header is missing.
missing_auth_header_log_level: :warn
missing_auth_header_log_level: :warning
```

## Caching
Expand Down
2 changes: 1 addition & 1 deletion config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ config :prima_auth0_ex, :clients,
token_check_interval: :timer.seconds(1)
]

config :logger, level: :warn
config :logger, level: :warning
2 changes: 1 addition & 1 deletion lib/prima_auth0_ex/plug/verify_and_validate_token.ex
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,6 @@ if Code.ensure_loaded?(Plug) do
do: Config.server(:ignore_signature, false)

defp global_missing_auth_header_log_level,
do: Config.server(:missing_auth_header_log_level, :warn)
do: Config.server(:missing_auth_header_log_level, :warning)
end
end