Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Disable console output
 Post subject: Disable console output Post rating: 0   New post Posted: Sun 26 Jul, 2015, 03:42 

User rating: 2
Joined: Thu 27 Jun, 2013, 19:14
Posts: 13
Hey,

just a quick question, does anyone know how or where I can disable the console outputs when I run the TesterMainGuidMode?

I would like to comment it out so that no outputs are generated besides my own outputs.
It also saves a lot of time because it takes time to output so many lines. I locked the console.scroll but anyway it would be great if I can comment that out.

Cheers,
Hans


 
 Post subject: Re: Disable console output Post rating: 0   New post Posted: Mon 27 Jul, 2015, 08:50 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
To change logging settings please edit rc/log4j.properties file.
Change the following lines from INFO to ERROR:
#Filter for dukascopy logs
log4j.category.com.dukascopy=ERROR
#Filter for dukascopy transport logs
log4j.category.com.dukascopy.transport.client=ERROR
#Filter for mina logs
log4j.category.org.apache.mina=ERROR


 
 Post subject: Re: Disable console output Post rating: 0   New post Posted: Thu 30 Jul, 2015, 01:32 

User rating: 2
Joined: Thu 27 Jun, 2013, 19:14
Posts: 13
Great, thank you very much!


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com