Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DBI Error Handling - errors written to Apache error.log

Status
Not open for further replies.

Farab

Programmer
Mar 20, 2001
60
GB
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top