db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tiago Espinha" <ti...@espinhas.net>
Subject Re: How do I print to derby.log?
Date Mon, 21 Apr 2008 21:12:58 GMT
Hi Erlend,

I'm not sure about this, but I believe you can do so with the following
code:
PrintWriter logWriter = Monitor.getStream().getPrintWriter();

and you need this:
import org.apache.derby.iapi.services.monitor.Monitor;

Regards,
Tiago

On Mon, Apr 21, 2008 at 9:59 PM, Erlend Birkenes <erlend@birkenes.net>
wrote:

> Hi.
>
> I'm working on *DERBY-3618<https://issues.apache.org/jira/browse/DERBY-3618>
> * and I can't figure out how to print to derby.log. Is there an easy way
> to get hold of the PrintWriter for the log?
>
> Thanks.
> -Erlend
>
>
>
> **

Mime
View raw message