|
198.
|
|
|
``$cfg->log_warn_targets = LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG;``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:220
|
|
199.
|
|
|
``$cfg->log_environ_targets = LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG;``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:221
|
|
200.
|
|
|
There are 4 different types of log messages that you can log to an error log and / or display on screen:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:223
|
|
201.
|
|
|
**dbg**: Debugging messages
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:225
|
|
202.
|
|
|
**info**: Informational messages
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:226
|
|
203.
|
|
|
**warn**: Warning messages
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:227
|
|
204.
|
|
|
**environ**: Environment errors
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:228
|
|
205.
|
|
|
You can log the different messages to different destinations:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:230
|
|
206.
|
|
|
**LOG_TARGET_SCREEN**: Display error messages on the screen. This is useful during testing and when debugging, but should not be used on a live site.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:232
|
|
207.
|
|
|
**LOG_TARGET_ADMIN**: Show error messages on the screen, but only when you are in the *Administration* area.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:233
|