I have some Perl CGI programs accessing Oracle via DBI/DBD Oracle.
The error handling works well, errors are being trapped and displayed to the user. Here's an example:
$dbConnection = DBI->connect($dbDriver, $dbUser, $dbPassword)
|| dbError('Connection', $DBI::errstr);
The problem(if you can call it that) I have is even though I trap the errors, they are written to the Apache error.log as well. Is there a way of preventing this when I've trapped the error?
The error handling works well, errors are being trapped and displayed to the user. Here's an example:
$dbConnection = DBI->connect($dbDriver, $dbUser, $dbPassword)
|| dbError('Connection', $DBI::errstr);
The problem(if you can call it that) I have is even though I trap the errors, they are written to the Apache error.log as well. Is there a way of preventing this when I've trapped the error?