As far as I can determine, my log4j.properties specifies only ERROR level
logging, but I get thousands of these as historical data is cached by the
JForex platform. This is to the Java System Console.
What config can I use to suppress this logging info to the Java Console log ?
I have two copies of log4j.properties, one is in the default directory where
the JForex .jnlp file was launched locally, and the other in the JForex default
Strategies folder. I'm assuming it should be in the application's default
directory?...
Java console tells me that Java system property
user.dir = C:\HyperScalper which is the directory from which I
invoked the JForex javaws launch (with a freshly downloaded jnlp file)
and that's where I have one of my log4j.properties files which
I believe is specifying ERROR as the logging threshold level.
Thanks,
HyperScalper
JForex FXDD ver. 2.33.5
JForex API ver. 2.9.7.1
Also with Dukascopy Bank ver. 2.33.5
JForex API ver. 2.9.7.1
java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Server VM (build 24.45-b08, mixed mode)
network: Cache entry not found [url: https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/11h_ticks.bi5, version: null]
network: Connecting https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/11h_ticks.bi5 with proxy=DIRECT
network: Cache entry not found [url: https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/12h_ticks.bi5, version: null]
network: Connecting https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/12h_ticks.bi5 with proxy=DIRECT
network: Cache entry not found [url: https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/13h_ticks.bi5, version: null]
network: Connecting https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/13h_ticks.bi5 with proxy=DIRECT
network: Cache entry not found [url: https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/14h_ticks.bi5, version: null]
network: Connecting https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/14h_ticks.bi5 with proxy=DIRECT
network: Cache entry not found [url: https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/15h_ticks.bi5, version: null]
network: Connecting https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/15h_ticks.bi5 with proxy=DIRECT
network: Cache entry not found [url: https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/16h_ticks.bi5, version: null]
network: Connecting https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/16h_ticks.bi5 with proxy=DIRECT
network: Cache entry not found [url: https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/17h_ticks.bi5, version: null]
network: Connecting https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/17h_ticks.bi5 with proxy=DIRECT
network: Cache entry not found [url: https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/18h_ticks.bi5, version: null]
network: Connecting https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/18h_ticks.bi5 with proxy=DIRECT
network: Cache entry not found [url: https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/19h_ticks.bi5, version: null]
network: Connecting https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/19h_ticks.bi5 with proxy=DIRECT
network: Cache entry not found [url: https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/20h_ticks.bi5, version: null]
network: Connecting https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/20h_ticks.bi5 with proxy=DIRECT
network: Cache entry not found [url: https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/21h_ticks.bi5, version: null]
network: Connecting https://www.dukascopy.com/datafeed/GBPNZD/2014/03/06/21h_ticks.bi5 with proxy=DIRECT
Here's the log4j.properties so maybe there's something wrong with it?
#log4j.rootLogger=INFO, systemOut, file, warnErrorFile
log4j.rootLogger=ERROR, systemOut, file, warnErrorFile
#Filter for dukascopy logs
log4j.category.com.dukascopy=ERROR
#Filter for dukascopy transport logs
log4j.category.com.dukascopy.transport.client=ERROR
com.dukascopy.transport.client.ClientConnector=ERROR
com.dukascopy.transport.client.ClientProtocolHandler=ERROR
com.dukascopy.charts.data.datacache.LocalCacheManager=ERROR
#Filter for mina logs
log4j.category.org.apache.mina=ERROR
#Output only INFO logs to console
log4j.appender.systemOut=org.apache.log4j.ConsoleAppender
log4j.appender.systemOut.Threshold=ERROR
log4j.appender.systemOut.layout=org.apache.log4j.PatternLayout
log4j.appender.systemOut.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p %c{1} - %m%n
#File with all the debug
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.Threshold=ERROR
log4j.appender.file.Append=true
log4j.appender.file.Encoding=UTF-8
log4j.appender.file.File=./logs/debug.log
log4j.appender.file.MaxBackupIndex=5
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p %c - %m%n
#File with warnings and errors only
log4j.appender.warnErrorFile=org.apache.log4j.DailyRollingFileAppender
log4j.appender.warnErrorFile.Threshold=WARN
log4j.appender.warnErrorFile.Append=true
log4j.appender.warnErrorFile.Encoding=UTF-8
log4j.appender.warnErrorFile.File=./logs/WarnError.log
log4j.appender.warnErrorFile.layout=org.apache.log4j.PatternLayout
log4j.appender.warnErrorFile.layout.ConversionPattern=%d{HH:mm:ss.SSS} %-5p %c - %m%n