Dukascopy
 
 
Wiki JStore Search Login

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

    Submit JForex API bug reports in this forum only.
    Submit Converter issues in Converter Issues.
    Off topics are strictly forbidden.

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

Log issue on remote server
 Post subject: Log issue on remote server Post rating: 0   New post Posted: Wed 16 Oct, 2013, 22:13 
User avatar

User rating: 96
Joined: Mon 09 Sep, 2013, 07:09
Posts: 287
Location: Ukraine, SHostka
Hi,

this code works just fine on local machine and does nothing on remote server:

public void onStart(IContext context) throws JFException {
    context.getConsole().getOut().println(42);
    context.stop();
}


 
 Post subject: Re: Log issue on remote server Post rating: 0   New post Posted: Thu 17 Oct, 2013, 07:35 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Did you check Portfolio -> Strategy Log?


 
 Post subject: Re: Log issue on remote server Post rating: 0   New post Posted: Thu 17 Oct, 2013, 07:52 
User avatar

User rating: 96
Joined: Mon 09 Sep, 2013, 07:09
Posts: 287
Location: Ukraine, SHostka
API Support wrote:
Did you check Portfolio -> Strategy Log?

I did. When I wrote "does nothing on remote server" I mean exactly Strategy Log.


 
 Post subject: Re: Log issue on remote server Post rating: 0   New post Posted: Mon 28 Oct, 2013, 22:57 
User avatar

User rating: 96
Joined: Mon 09 Sep, 2013, 07:09
Posts: 287
Location: Ukraine, SHostka
It seems last update (API ver. 2.9.4) has fixed this issue.
The logging of primitive types on Remote Server works as expected.

Thanks to the support team.


 
 Post subject: Re: Log issue on remote server Post rating: 0   New post Posted: Tue 29 Oct, 2013, 01:44 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
Doesn't apply here, but be sure you allow at least 1 msec
between successive writes to the Remote console or
lines may also be missed.

I have a console queueing object which automatically
enforces these delays.

HyperScalper


 

Jump to:  

cron
  © 1998-2024 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