diff --git a/.env.example b/.env.example index 9a9d0dc7..805667d0 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,6 @@ APP_ENV=local APP_DEBUG=true +APP_LOG_LEVEL=debug APP_KEY=SomeRandomString APP_URL=http://localhost diff --git a/config/app.php b/config/app.php index 4fc7a63f..0a83bcc5 100644 --- a/config/app.php +++ b/config/app.php @@ -28,6 +28,20 @@ return [ '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