Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Trying to customize error logs...
Date: Apr 29 1999 11:31PM
David Hajoglou writes:
> To list (but probably to Michael),
> The below error is a normal error when a user/pass combo is incorect for
> our server. The code to connect is:
> $dbh = Sybase::DBlib->dblogin($user,$pass,'IRELAND',"$$");
> I have been digging through the DBlib.pm file to find the logging routine.
> However, I cannot seem to find the one generating this message. Is DBlib
> writing this to the error log, or is apache, or what? I want to know so I
> can hack the code with my custom message.
See the discussion on error/message handlers in the sybperl
manpage. Also, take a look at sybutil.pl, which is part of the sybperl
distribution (in the lib/ directory) to see how you can create your
own error handlers...
Michael Peppler -||- Data Migrations Inc.
firstname.lastname@example.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: email@example.com