-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
1 parent
1cab03f
commit 6fb0a63
Showing
2 changed files
with
35 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters