PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

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
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com