diff options
| author | rinpatch <rinpatch@sdf.org> | 2019-06-08 18:02:57 +0300 | 
|---|---|---|
| committer | rinpatch <rinpatch@sdf.org> | 2019-06-08 18:02:57 +0300 | 
| commit | 4f5149c93be8d0abffca2aa74984b03d8e27739d (patch) | |
| tree | e27dbd123955376adb166b02191f3fd7808e9258 | |
| parent | d5330ed12561377e5c464bcc2774ebc692b9ac07 (diff) | |
| download | pleroma-4f5149c93be8d0abffca2aa74984b03d8e27739d.tar.gz pleroma-4f5149c93be8d0abffca2aa74984b03d8e27739d.zip  | |
Set default loglevel to `warn` in prod
It's rare that info logs are needed to debug the issue, so I would
suggest setting them to warn in prod by default to make finding the
relevant parts easier and potentially even decrease cpu usage on bigger
instances
Closes #962
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | config/prod.exs | 2 | 
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index cf2232b09..510ad7ff5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -64,6 +64,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).  - Federation: Expand the audience of delete activities to all recipients of the deleted object  - Federation: Removed `inReplyToStatusId` from objects  - Configuration: Dedupe enabled by default +- Configuration: Default log level in `prod` environment is now set to `warn`  - Configuration: Added `extra_cookie_attrs` for setting non-standard cookie attributes. Defaults to ["SameSite=Lax"] so that remote follows work.  - Timelines: Messages involving people you have blocked will be excluded from the timeline in all cases instead of just repeats.  - Admin API: Move the user related API to `api/pleroma/admin/users` diff --git a/config/prod.exs b/config/prod.exs index d0cfd1ac2..1179cf3b0 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -18,7 +18,7 @@ config :pleroma, Pleroma.Web.Endpoint,    protocol: "http"  # Do not print debug messages in production -config :logger, level: :info +config :logger, level: :warn  # ## SSL Support  #  | 
