|
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
|
|
92.
|
|
|
**LOG_TARGET_FILE**: This allows you to specify a file to which messages will be logged. It's best to pick a path in dataroot, but note that log files tend to get very large over time. So it's advisable to implement some kind of logrotate if you want to leave this on all the time. The other option is to just turn this option on when you are getting a specific error or want to see the logging, and know that you're not going to let the log file get large.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:235
|
|
93.
|
|
|
You can combine the targets with bitwise operations, e.g. ``LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG``.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:237
|
|
94.
|
|
|
log_file: File containing error messages
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:195
|