Use class names for default logging targets in default common config

This commit is contained in:
Martin Rüegg 2023-03-28 16:32:15 +02:00
parent ae9ca61eac
commit 178252f329
No known key found for this signature in database
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,10 @@
HumHub Changelog
================
1.14.0 (Unreleased)
-------------------------
- Fix #6196: Use class names for default logging targets in default common config
1.13.2 (March 27, 2023)
-----------------------
- Fix #5965: Suppress log warning 'Invalid session auth key attempted for user'

View File

@ -54,7 +54,7 @@ $config = [
'log' => [
'traceLevel' => YII_DEBUG ? 3 : 0,
'targets' => [
[
\yii\log\FileTarget::class => [
'class' => \yii\log\FileTarget::class,
'levels' => ['error', 'warning'],
'except' => [
@ -64,7 +64,7 @@ $config = [
],
'logVars' => ['_GET', '_SERVER'],
],
[
\yii\log\DbTarget::class =>[
'class' => \yii\log\DbTarget::class,
'levels' => ['error', 'warning'],
'except' => [