db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: client/am/Versionj.ava
Date Sat, 15 Apr 2006 15:18:24 GMT
David W. Van Couvering wrote:
>  How *does* the logwriter get set on a connection?

Hi David,

Assuming I'm understanding your question properly, you change
your test program from:

   Connection conn = DriverManager.getConnection(url);

to

   Properties props = new Properties();
   props.put("traceLevel", "-1");
   props.put("traceDirectory", "c:/temp");
   props.put("traceFile", "clientTrace.txt");
   props.put("traceFileAppend", "false");
   Connection conn = DriverManager.getConnection(url, props);

thanks,

bryan

P.S. I'd say that all that stuff in Version.writeDriverConfiguration
does not need to be translated, and is perfectly fine to stay as
English-only text.



Mime
View raw message