Welcome Guest, Not a member yet? Register   Sign In
logging mysql errors
#1

[eluser]coolgeek[/eluser]
I need to log MySQL errors for a production system. It seems that setting $db['default']['db_debug'] = FALSE not only prevents MySQL errors from being displayed in the browser, but it also prevents them from being logged.

Is there any way to configure logging without display?

Alternatively, is the connection handle available so that I can use mysqli_error()?

Note that I'm especially interested in logging errors from within transactions that operate across multiple models.

Thanks


Messages In This Thread
logging mysql errors - by El Forum - 10-19-2010, 10:15 AM
logging mysql errors - by El Forum - 10-19-2010, 11:10 AM
logging mysql errors - by El Forum - 10-19-2010, 12:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB