7 Commits

Author SHA1 Message Date
jiv_e
6fb0a63751
Refactor log level configuration (#7695)
* Refactor log level configuration

- Remove STRAPI_LOG_LEVEL environment variable related redundant code.
- Add helpful error message to the current log level configuration
  system.

Signed-off-by: Juho Viitasalo <juho.viitasalo@lildrop.com>

* Fix error message

Signed-off-by: Juho Viitasalo <juho.viitasalo@lildrop.com>

* Fix log level base value

* Fix breaking change

* Add debug message

* Change logger code to use Pino's log level values directly

* Update index.js

Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2020-10-08 18:58:59 +02:00
Alexandre Bodin
9e9ff9907d Refactor strapi load 2019-04-16 08:50:22 +02:00
Jim Laurie
79341fb8e5 Fix logger colors 2018-03-07 13:12:25 +01:00
Aurelsicoko
b89a8a5abc Display better logs 2018-03-06 16:51:00 +01:00
Kristian Frølund
72c830e24e Added logging documentation 2018-03-01 13:36:54 +01:00
Jørgensen
4e404b149e
Update logger.js
Added environment variables to configure strapi logger.
2018-02-27 09:08:31 +01:00
aurelsicoko
68b42e0831 Update dependencies and focus on performances 2017-08-05 20:25:57 +02:00