I don't know what that properties object represents. It looks like it is
configuring the attributes of a Derby connection. What you want to do is
something else. You want to configure the system properties which are
used for all embedded Derby databases used by your application. One way
to do this is to create a file called /derby.properties/ and place that
file in the current directory of your application. From the attached
derby.log, it looks like that directory is /C:\Users\64210\JForex/. The
contents of your /derby.properties/ would be
derby.language.logStatementText=true
derby.stream.error.logSeverityLevel=0
Alternatively, if you boot the application by running the java command
then you could boot the application like this:
java -Dderby.language.logStatementText=true
-Dderby.stream.error.logSeverityLevel=0 ...
Hope this helps,
-Rick
On 7/12/19 8:53 AM, Bob M wrote:
Thanks Rick
I have :-
props.put("user", "xxx");
props.put("password", "zzzz");
so do I add a couple of further props.put statements ?
I seem to have just one log file - here is an example where 2 of 5 different
databases are mentioned ???
(I am running 5 different programs at the same time)
----------------------------------------------------------------
Fri Jul 12 00:00:02 UTC 2019:
Booting Derby version The Apache Software Foundation - Apache Derby -
10.11.1.1 - (1616546): instance a816c00e-016b-e37a-c68c-000009500118
on database directory C:\Users\aaaa\Databases\us_copiosus_NZDUSD_1010 with
class loader com.dukascopy.dds2.greed.agent.a.c@651fbc34
Loaded from http://www.dukascopy.com/JFOREX
java.vendor=Oracle Corporation
java.runtime.version=1.8.0_152-b16
user.dir=C:\Users\64210\JForex
os.name=Windows 10
os.arch=amd64
os.version=10.0
derby.system.home=null
Database Class Loader started - derby.database.classpath=''
----------------------------------------------------------------
Fri Jul 12 00:00:08 UTC 2019: Shutting down Derby engine
----------------------------------------------------------------
Fri Jul 12 00:00:08 UTC 2019:
Shutting down instance a816c00e-016b-e37a-c4d7-00000b206fe8 on database
directory C:\Users\bbbbb\Databases\us_copiosus_EURCAD_1010 with class loader
com.dukascopy.dds2.greed.agent.a.c@31499e31
----------------------------------------------------------------
Bob M
--
Sent from:
http://apache-database.10148.n7.nabble.com/Apache-Derby-Users-f95095.html