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.