[wp-trac] [WordPress Trac] #16107: WordPress Database Error Logging Extravaganza
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 5 12:41:01 UTC 2011
#16107: WordPress Database Error Logging Extravaganza
--------------------------+-----------------------------
Reporter: hakre | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version: 3.1
Severity: normal | Keywords:
--------------------------+-----------------------------
If PHP error logging is enabled, the wordpress database class will log
errors to file by using the error_log() function. This is a PHP function.
While doing so, it does not reflect the PHP configuration setting for
{{{log_errors_max_len}}} which defaults to 1024 (bytes).
While not doing so, the database class can log extremely long queries into
the file creating multiple gigabytes quite quickly.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16107>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list