Closed Plisio closed 4 years ago
Hello, When I enable info logs I get a lot of noise such:
2020-04-14 08:24:29 [-][-][-][info][yii\mongodb\Query::fetchRows] fetch cursor id = 0 2020-04-14 08:24:29 [-][-][-][info][yii\mongodb\Query::fetchRows] fetch cursor id = 0 2020-04-14 08:24:29 [-][-][-][info][yii\mongodb\Query::fetchRows] fetch cursor id = 0
Adding
'except' => ['yii\db\*', 'yii\mongodb\*'],
has no effect.
And I can not omit it. Could you add some category for these Yii::info logs or advice how to omit such logs? Ref: https://github.com/yiisoft/yii2-mongodb/blob/837c14c8a38055cd97d6f8b551eef27616f3c8c5/src/Query.php#L216 And others: https://github.com/yiisoft/yii2-mongodb/blob/837c14c8a38055cd97d6f8b551eef27616f3c8c5/src/Command.php#L811 https://github.com/yiisoft/yii2-mongodb/blob/837c14c8a38055cd97d6f8b551eef27616f3c8c5/src/BatchQueryResult.php#L134
Thanks!
Seems after restarting docker except option has been applied
Hello, When I enable info logs I get a lot of noise such:
Adding
has no effect.
And I can not omit it. Could you add some category for these Yii::info logs or advice how to omit such logs? Ref: https://github.com/yiisoft/yii2-mongodb/blob/837c14c8a38055cd97d6f8b551eef27616f3c8c5/src/Query.php#L216 And others: https://github.com/yiisoft/yii2-mongodb/blob/837c14c8a38055cd97d6f8b551eef27616f3c8c5/src/Command.php#L811 https://github.com/yiisoft/yii2-mongodb/blob/837c14c8a38055cd97d6f8b551eef27616f3c8c5/src/BatchQueryResult.php#L134
Thanks!