HotFix: Tune the chatwoot logs

Fixes : #616
This commit is contained in:
Sojan
2020-03-18 01:40:34 +05:30
parent 91bccd3c6d
commit 8d65e7db95
5 changed files with 29 additions and 8 deletions

View File

@@ -102,3 +102,15 @@ SECRET_KEY_BASE=replace_with_your_own_secret_string
You can generate `SECRET_KEY_BASE` using `rake secret` command from project root folder.
### Rails Logging Variables
By default chatwoot will capture `info` level logs in production. Ref [rails docs](https://guides.rubyonrails.org/debugging_rails_applications.html#log-levels) for the additional log level options.
We will also retain 1 GB of your recent logs and your last shifted log file.
You can fine tune these settings using the following environment variables
```bash
# possible values: 'debug', 'info', 'warn', 'error', 'fatal' and 'unknown'
LOG_LEVEL=
# value in megabytes
LOG_SIZE= 1024
```