Skip to content

Commit

Permalink
chore: use :warning log level
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziinc committed Mar 26, 2024
1 parent df15855 commit f0bb244
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ config :logger,

log_level =
case String.downcase(System.get_env("LOGFLARE_LOG_LEVEL") || "") do
"warn" -> :warn
# TODO: remove at v2
"warn" -> :warning
"warning" -> :warning
"info" -> :info
"error" -> :error
_ -> nil
Expand Down
2 changes: 1 addition & 1 deletion docs/docs.logflare.com/docs/self-hosting/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ All browser authentication will be disabled when in single-tenant mode.
| `LOGFLARE_SUPABASE_MODE` | Boolean, defaults to `false` | A special mode for Logflare, where Supabase-specific resources will be seeded. Intended for Suapbase self-hosted usage. |
| `PHX_HTTP_PORT` | Integer, defaults to `4000` | Allows configuration of the HTTP server port. |
| `DB_SCHEMA` | String, defaults to `nil` | Allows configuration of the database schema to scope Logflare operations. |
| `LOGFLARE_LOG_LEVEL` | String, defaults to `info`. <br/>Options: `error`,`warn`, `info` | Allows runtime configuration of log level. |
| `LOGFLARE_LOG_LEVEL` | String, defaults to `info`. <br/>Options: `error`,`warning`, `info` | Allows runtime configuration of log level. |
| `LOGFLARE_NODE_HOST` | string, defaults to `127.0.0.1` | Sets node host on startup, which affects the node name `logflare@<host>` |
| `LOGFLARE_LOGGER_METADATA_CLUSTER` | string, defaults to `nil` | Sets global logging metadata for the cluster name. Useful for filtering logs by cluster name. |
| `LOGFLARE_PUBSUB_POOL_SIZE` | Integer, defaults to `10` | Sets the number of `Phoenix.PubSub.PG2` partitions to be created. Should be configured to the number of cores of your server for optimal multi-node performance. |
Expand Down

0 comments on commit f0bb244

Please sign in to comment.