Files
doc-en/reference/mongodb/ini.xml
Jeremy Mikola e9214a2619 Revise driver/extension terminology in ext-mongodb docs (#3429)
https://jira.mongodb.org/browse/PHPLIB-1279

* Refer to ext-mongodb as "extension" instead of "driver"

* Revise driver/extension references in Monitoring docs

* Refer to extension in mongodb.note.forking snippet

* Rewrite bsonSerialize() paragraph about ObjectId generation

* Use present tense in event method docs

* Rewrite paragraph about PHPLIB Document and Array classes

* Wrap long lines

---------

Co-authored-by: Jérôme Tamarelle <jerome@tamarelle.net>
2024-06-04 08:52:47 -04:00

99 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<article xml:id="mongodb.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
<para>
<table>
<title>mongodb &ConfigureOptions;</title>
<tgroup cols="4">
<thead>
<row>
<entry>&Name;</entry>
<entry>&Default;</entry>
<entry>&Changeable;</entry>
<entry>&Changelog;</entry>
</row>
</thead>
<tbody>
<row>
<entry><link linkend="ini.mongodb.debug">mongodb.debug</link></entry>
<entry>""</entry>
<entry><constant>INI_ALL</constant></entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</para>
&ini.descriptions.title;
<para>
<variablelist>
<varlistentry xml:id="ini.mongodb.debug">
<term>
<parameter>mongodb.debug</parameter>
<type>string</type>
</term>
<listitem>
<para>
This option can be used to enable or disable trace-level debug logging in
the extension (and libmongoc).
</para>
<para>
Specify an empty string, <literal>"0"</literal>,
<literal>"off"</literal>, <literal>"no"</literal>, or
<literal>"false"</literal> to disable logging.
</para>
<para>
Specify <literal>"stderr"</literal> or <literal>"stdout"</literal> to log
to <literal>stderr</literal> or <literal>stdout</literal>, respectively.
</para>
<para>
Specify <literal>"1"</literal>, <literal>"on"</literal>,
<literal>"yes"</literal>, or <literal>"true"</literal> to log to a new
temporary file within the default system temp directory (i.e.
<function>sys_get_temp_dir</function>).
</para>
<para>
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.
</para>
<note>
<para>
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.
</para>
</note>
</listitem>
</varlistentry>
</variablelist>
</para>
</article>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->