Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Jdbc > Feature Request...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 1940 of 1997
Post > Topic >>

Feature Request: PSQLException verbosity option

by dmigowski@[EMAIL PROTECTED] (Daniel Migowski) Apr 25, 2008 at 10:49 AM

Hello dear developers,

For my application it would be great to be able to increase the 
verbosity of the SQLExceptions. I found out that PSQL-Exceptions that 
are based on server errors call ServerErrorMessage.toString(), which 
itself is configured with a verbosity parameter which equals the 
loglevel of the PostgreSQL JDBC Driver. By setting the loglevel to 1 
(INFO), the driver prints info to the DriverManager.getLogWriter() in 
other occassions, too, which is not exactly what I need. Currently I 
solve this dilemma by using the driver option "loglevel=1", and setting 
DriverManager's logwriter to a NullPrintStream.

Would it be possible to add an exceptionloglevel option to the driver? 
This option would make the driver silent, but the exeptions, which get 
commonly printed to logfiles, more verbose.

With best regards,
Daniel Migowski
-- 

 |ŻŻ|ŻŻ|    *IKOffice GmbH             Daniel Migowski*
 |  |  |/|                            Mail: dmigowski@[EMAIL PROTECTED]
>
 |  | // |  Nordstr. 10               Tel.: 0441 21 98 89 52
 |  | \\ |  26135 Oldenburg           Fax.: 0441 21 98 89 55
 |__|__|\|  http://www.ikoffice.de
   Mob.: 0176 22 31 20 76


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
 




 5 Posts in Topic:
Feature Request: PSQLException verbosity option
dmigowski@[EMAIL PROTECTE  2008-04-25 10:49:34 
Re: Feature Request: PSQLException verbosity option
books@[EMAIL PROTECTED]   2008-05-19 23:09:20 
Re: Feature Request: PSQLException verbosity option
dmigowski@[EMAIL PROTECTE  2008-05-20 09:45:08 
Re: Feature Request: PSQLException verbosity option
books@[EMAIL PROTECTED]   2008-05-20 15:53:14 
Re: Feature Request: PSQLException verbosity option
dmigowski@[EMAIL PROTECTE  2008-05-21 22:13:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 2:04:01 CDT 2008.