mongodb\Connection $enableLogging

$enableLogging public property (available since version 2.1)

Whether to log command and query executions. While enabled this option may reduce performance, since MongoDB commands may contain large data, consuming both CPU and memory. It make sense to disable this option at production environment.

public boolean $enableLogging = true
doc_Yii
2016-10-30 17:07:54
Comments
Leave a Comment

Please login to continue.