Configuration ≫ Logging

Log Database Queries

Key: STORE_DB_TRANSACTIONS
Path: Configuration > Logging
Description: Record the database queries to files in the system /logs/ folder. USE WITH CAUTION. This can seriously degrade your site performance and blow out your disk space storage quotas.
Enabling this makes your site NON-COMPLIANT with PCI DSS rules, thus invalidating any certification.

Report All Errors (Admin)?

Key: REPORT_ALL_ERRORS_ADMIN
Path: Configuration > Logging
Description: Do you want create debug-log files for all PHP errors, even warnings, that occur during your Zen Cart admin's processing? If you want to log all PHP errors except duplicate-language definitions, choose IgnoreDups.

Report All Errors (Store)?

Key: REPORT_ALL_ERRORS_STORE
Path: Configuration > Logging
Description: Do you want create debug-log files for all PHP errors, even warnings, that occur during your Zen Cart store's processing? If you want to log all PHP errors except duplicate-language definitions, choose IgnoreDups.

Note: Choosing 'Yes' is not suggested for a live store, since it will reduce performance significantly!

Report All Errors: Backtrace on Notice Errors?

Key: REPORT_ALL_ERRORS_NOTICE_BACKTRACE
Path: Configuration > Logging
Description: Include backtrace information on "Notice" errors? These are usually isolated to the identified file and the backtrace information just fills the logs. Default (No).



Still have questions? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, head over to the Zen Cart support forum and ask there in the appropriate subforum. In your post, please include your Zen Cart and PHP versions, and a link to your site.

Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started. You can even PR right here.
Last modified January 12, 2024 by Scott C Wilson (2e7ec20).