|
185.
|
|
|
Print the values of function and method arguments when printing a backtrace. This can be useful for debugging, but it is a security risk because function parameters may include sensitive data such as passwords and private keys. Though arguments whose names suggest that they contain passwords, will still be blanked out even if this feature is enabled.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:184
|
|
186.
|
|
|
A ``null`` value here tells Mahara to hide argument values when ``$cfg->productionmode`` is enabled, and to show them otherwise. A ``true`` or ``false`` tells Mahara to always show or hide argument values in backtraces regardless of the value of ``$cfg->productionmode``.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:186
|
|
187.
|
|
|
log_file: File containing error messages
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:195
|
|
188.
|
|
|
``$cfg->log_file = '/path/to/dataroot/error.log';``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:197
|
|
189.
|
|
|
If you use LOG_TARGET_FILE, this is the file to which errors will be logged. By default, it will write to the file ``error.log`` under the dataroot. If you change this in config.php, make sure you use a folder which is writable by the web server.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:199
|
|
190.
|
|
|
log targets: Destination for log information
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:208
|
|
191.
|
|
|
Typical production environment:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:210
|
|
192.
|
|
|
``$cfg->log_dbg_targets = LOG_TARGET_ERRORLOG;``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:212
|
|
193.
|
|
|
``$cfg->log_info_targets = LOG_TARGET_ERRORLOG;``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:213
|
|
194.
|
|
|
``$cfg->log_warn_targets = LOG_TARGET_ERRORLOG;``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:214
|