[AppDB] - error logging

Chris Morgan cmorgan at alum.wpi.edu
Mon Jul 17 23:54:06 CDT 2006


Patch modifies query_error() to log the errors to the database instead of 
displaying them on the screen.  This should let us more easily debug 
difficult or intermittent issues that users may not report.  It should also 
make the appdb more secure since we won't display any sql to users.

Add a cron to report logged errors to appdb admins every night.  Implement 
some basic unit tests to test out the error logging.

Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_error_log.php
Type: application/x-php
Size: 1001 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060718/cede9691/test_error_log.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error_log.php
Type: application/x-php
Size: 2898 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060718/cede9691/error_log.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error_log.sql
Type: text/x-csrc
Size: 313 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060718/cede9691/error_log.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error_logging.patch
Type: text/x-diff
Size: 3414 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060718/cede9691/error_logging.patch


More information about the wine-patches mailing list