« インストール手順
定義済み定数 »

実行時設定

php.ini の設定により動作が変化します。

mongodb 設定オプション
名前 デフォルト 変更可能 変更履歴
mongodb.debug "" INI_ALL  

以下に設定ディレクティブに関する 簡単な説明を示します。

mongodb.debug string

This option can be used to enable or disable trace-level debug logging in the extension (and libmongoc).

Specify an empty string, "0", "off", "no", or "false" to disable logging.

Specify "stderr" or "stdout" to log to stderr or stdout, respectively.

Specify "1", "on", "yes", or "true" to log to a new temporary file within the default system temp directory (i.e. sys_get_temp_dir()).

Specify any other string to log to a new temporary file within that directory. If the directory cannot be used, the default system temp directory will be used instead.

注意:

Please note that the debug log can contain sensitive information, such as credentials to the MongoDB server and full documents written to or read from the server. Please review any debug logs before sharing them with other people.

関連キーワード:
debug   directory   mongodb   disable   logging   stderr   stdout   system   server   定数   変化   ディレクティブ   option   enable   trace   level   extension   libmongoc   empty   instead   note   credentials   MongoDB   documents   written
関連する関数・ページ:
mysqli.debug   mysqli.dump-debug-info   function.debug-print-backtrace   language.types.intro   function.get-debug-type   function.memcache-debug