|
82.
|
|
|
``$cfg->log_environ_targets = LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG;``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:221
|
|
83.
|
|
|
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
|
|
84.
|
|
|
**dbg**: Debugging messages
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:225
|
|
85.
|
|
|
**info**: Informational messages
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:226
|
|
86.
|
|
|
**warn**: Warning messages
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:227
|
|
87.
|
|
|
**environ**: Environment errors
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:228
|
|
88.
|
|
|
You can log the different messages to different destinations:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:230
|
|
89.
|
|
|
**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
|
|
90.
|
|
|
**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
|
|
91.
|
|
|
**LOG_TARGET_ERRORLOG**: Send log information to the error log as specified in your Apache configuration. It is recommended to use this setting for all log levels no matter the other targets that you specified.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:234
|