php.ini の設定により動作が変化します。
以下に設定ディレクティブに関する 簡単な説明を示します。
mongodb.debug
Store full activity debug log in this directory or stream. The special value "stderr" can be provided to write to STDERR.