Cleaned up more logging options
This commit is contained in:
parent
7057cb0104
commit
0c7d4a709a
4 changed files with 3 additions and 32 deletions
|
@ -156,7 +156,7 @@ RESET_PASSWORD_LINK_EXPIRES=900
|
||||||
# OPTIONAL: MISC
|
# OPTIONAL: MISC
|
||||||
# --------------------------------------------
|
# --------------------------------------------
|
||||||
APP_LOG=stderr
|
APP_LOG=stderr
|
||||||
APP_LOG_MAX_FILES=10
|
LOG_MAX_DAYS=10
|
||||||
APP_LOCKED=false
|
APP_LOCKED=false
|
||||||
APP_CIPHER=AES-256-CBC
|
APP_CIPHER=AES-256-CBC
|
||||||
GOOGLE_MAPS_API=
|
GOOGLE_MAPS_API=
|
||||||
|
|
|
@ -159,7 +159,7 @@ PASSWORD_RESET_MAX_ATTEMPTS_PER_MIN=50
|
||||||
# OPTIONAL: MISC
|
# OPTIONAL: MISC
|
||||||
# --------------------------------------------
|
# --------------------------------------------
|
||||||
APP_LOG=single
|
APP_LOG=single
|
||||||
APP_LOG_MAX_FILES=10
|
LOG_MAX_DAYS=10
|
||||||
APP_LOCKED=false
|
APP_LOCKED=false
|
||||||
APP_CIPHER=AES-256-CBC
|
APP_CIPHER=AES-256-CBC
|
||||||
APP_FORCE_TLS=false
|
APP_FORCE_TLS=false
|
||||||
|
|
|
@ -129,35 +129,6 @@ return [
|
||||||
|
|
||||||
'cipher' => env('APP_CIPHER', 'AES-256-CBC'),
|
'cipher' => env('APP_CIPHER', 'AES-256-CBC'),
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Logging Configuration
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Here you may configure the log settings for your application. Out of
|
|
||||||
| the box, Laravel uses the Monolog PHP logging library. This gives
|
|
||||||
| you a variety of powerful log handlers / formatters to utilize.
|
|
||||||
|
|
|
||||||
| Available Settings: "single", "daily", "syslog", "errorlog"
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'log' => env('APP_LOG', 'single'),
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Logging Max Files
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| When using the daily log mode, Laravel will only retain 5
|
|
||||||
| days of log files by default.
|
|
||||||
|
|
|
||||||
| To change this, set the APP_LOG_MAX_FILES option in your .env.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'log_max_files' => env('APP_LOG_MAX_FILES', 5),
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Default Storage path for private uploads
|
| Default Storage path for private uploads
|
||||||
|
|
|
@ -51,7 +51,7 @@ return [
|
||||||
'driver' => 'daily',
|
'driver' => 'daily',
|
||||||
'path' => storage_path('logs/laravel.log'),
|
'path' => storage_path('logs/laravel.log'),
|
||||||
'level' => env('LOG_LEVEL', 'warning'),
|
'level' => env('LOG_LEVEL', 'warning'),
|
||||||
'days' => 14,
|
'days' => env('LOG_MAX_DAYS', 14),
|
||||||
],
|
],
|
||||||
|
|
||||||
'slack' => [
|
'slack' => [
|
||||||
|
|
Loading…
Add table
Reference in a new issue