diff --git a/.env.example b/.env.example index cebc8926a2d..67d9dd32c3c 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,6 @@ APP_ENV=local APP_DEBUG=true +APP_LOG_LEVEL=debug APP_KEY=SomeRandomString DB_CONNECTION=mysql diff --git a/config/app.php b/config/app.php index 036282a6bb7..898a82c113a 100644 --- a/config/app.php +++ b/config/app.php @@ -15,6 +15,20 @@ 'debug' => env('APP_DEBUG', false), + /* + |-------------------------------------------------------------------------- + | Application Log Level + |-------------------------------------------------------------------------- + | + | By default, Laravel will write all log messages to its log file. You + | can specify the minimum log level by setting this value to one of + | the logging levels defined in RFC 5424 and Laravel will log all + | messages greater than or equal to the configured log level. + | + */ + + 'log_level' => env('APP_LOG_LEVEL', 'debug'), + /* |-------------------------------------------------------------------------- | Application URL