Allow toggle for logging deprecation warnings
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
e4244d60f1
commit
934aa3da7f
2 changed files with 7 additions and 0 deletions
|
@ -179,6 +179,7 @@ PASSWORD_RESET_MAX_ATTEMPTS_PER_MIN=50
|
|||
# OPTIONAL: MISC
|
||||
# --------------------------------------------
|
||||
LOG_CHANNEL=single
|
||||
LOG_DEPRECATIONS=false
|
||||
LOG_MAX_DAYS=10
|
||||
APP_LOCKED=false
|
||||
APP_CIPHER=AES-256-CBC
|
||||
|
|
|
@ -140,5 +140,11 @@ if ((env('APP_ENV')=='production') && (env('ROLLBAR_TOKEN'))) {
|
|||
|
||||
}
|
||||
|
||||
if (env('LOG_DEPRECATIONS')=='true') {
|
||||
$config['channels']['deprecations'] = [
|
||||
'driver' => 'single',
|
||||
'path' => storage_path('logs/deprecations.log')
|
||||
];
|
||||
}
|
||||
|
||||
return $config;
|
Loading…
Add table
Reference in a new issue