Help: Log files of EA changed after version 5.00 build 2470 29 May 2020

 

Hi, I am new MT5 user & coder for 3 months and noticed something puzzling:- 

I used to see output of my EA "Print()" statements being captured in "C:\Users\Desktop\AppData\Roaming\MetaQuotes\Terminal\..\MQL5\Logs\" directory. 

But, last 2 days , I found that the EA logs are all in random agents directories like "C:\Users\Desktop\AppData\Roaming\MetaQuotes\Tester\...\Agent-127.0.0.1-3000\Logs". 

This has created inconvenience in reading EA logs and housekeeping (deleting unwanted logs). 

Anyone has any clue what's going on and how do I revert back all EA logs to "MQL5\Logs\YYYYMMDD.log" ?

 
koeiROTK: I used to see …
You still do. The \Agent\ are from the multi-threaded optimizer.
 
William Roeder:
You still do. The \Agent\ are from the multi-threaded optimizer.

No, I can no longer see EA backtest logs in MQL5/Logs/ directory after running my EA. 

Journal results after Backtest run of EA:- 

2020.06.08 18:51:47.461 EURUSD: generate 74773 ticks in 0:00:00.172, passed to tester 143480 ticks

2020.06.08 18:51:47.461 287 Mb memory used including 3 Mb of history data, 64 Mb of tick data

2020.06.08 18:51:47.461 log file "C:\Users\Desktop\AppData\Roaming\MetaQuotes\Tester\A0CF507C68985FC4143\Agent-127.0.0.1-3000\logs\20200608.log" written


However, there's no YYYYMMDD.log file created in my MQL5/Logs/ directory by the EA. Only logs I found in MQL5/Logs/ are those generated by my Custom Indicators if I attach them to a chart. 

This is trivial but frustrating to troubleshoot. Any help is welcome. 


 

Just to add: In my MT5 Terminal, all my Agent (16 cores) are in "Status = not used". Still my EA is writing to "\Agent-127.0.0.1-3000\logs\20200609.log" written in EA backtesting

127.0.0.1 looks like the loopback IP. 

I suspects I have turn on something ...