For example I got the following error in log file.
The above query is called from many controllers, so I wish to know the script name / controller / URI which produces the above error.
Is there any work around to improve the CI error logging?
Quote:ERROR - 2016-07-27 10:19:43 --> Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 - Invalid query: select status as value from users where regid =
The above query is called from many controllers, so I wish to know the script name / controller / URI which produces the above error.
Is there any work around to improve the CI error logging?