db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: How do I relocate the log directory or make no logs written?
Date Sat, 07 Jan 2006 19:52:41 GMT
Duhee Lee wrote:

> Dear Kurt,
> 
> Thank you for the quick response.
> I'd like to either:
> 1. relocate the log directory whenever the jboss server starts up
> without modifying the 'service.properties' file or
> 2. make the log not generated if possible. Our application does only
> 'select' and doesn't do transactions.
> 
> Could you please let me know if you know the solution? 
> If the derby code has to be modified to achieve it, let me know if you
> know what file has to be modified.

What's the problem with having the log if the database is only accessed
read-only?

Another possible solution is to make the database files read-only, then
I think Derby will automatically boot read-only for all connections and
the log will not be modified.

Dan.




Mime
View raw message