Is there a way to clear all the Print logs to reduce memory usage?

Created at 09 Sep 2020, 14:16
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
FI

firemyst

Joined 26.03.2019

Is there a way to clear all the Print logs to reduce memory usage?
09 Sep 2020, 14:16


Hi everyone:

Is there a way to clear all the logs/whatever in cTrader via API?

When doing a lot of Print statements in cBots, that causes cTrader to continuously use up memory. I'm hoping there's a way to clear out those printed statements/logs to help alleviate this?

Thank you.


@firemyst
Replies

PanagiotisCharalampous
09 Sep 2020, 15:04

Hi firemyst,

You cannot clear the logs via the API, only manually.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

firemyst
09 Sep 2020, 15:29

RE:

PanagiotisCharalampous said:

Hi firemyst,

You cannot clear the logs via the API, only manually.

Best Regards,

Panagiotis 

Join us on Telegram

Thanks @Panagiotis.

Are there any future plans you're aware of to allow this?

 


@firemyst

PanagiotisCharalampous
09 Sep 2020, 15:30

Hi firemyst,

We do not have such plans at the moment.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous