The following database connection URL creates a database in the directory d:/mydatabases, but puts the database log directory in h:/janets/tourslog:
jdbc:derby:d:/mydatabases/toursDB; create=true;logDevice=h:/janets/tourslog
Scripting on this page tracks web page traffic, but does not change the content in any way.