Download MetaTrader 5

prefix number code in terminal / tester journal logs

To add comments, please log in or register
Jon Grah
367
Jon Grah  

b840+ 

Every entry in the terminal journal logs and the tester journal logs (the text .log file) is prefixed by a 0, 1, 2, 3 (some single digit).  E.g.

 

2       03:19:33        2015.12.01 10:47  [expert] EURUSD,M1: open #61 buy 0.12 EURUSD at 1.05988 ok

What does that digit "2" at the beginning of the line mean?

 

 

 The experts logs and any separate log that my EA generate do not have prefix on every line.   This only occurs in journal.log

whroeder1
15015
whroeder1  
They correspond to the icon shown in the Journal tab.
0

1

2

Zirkon
121
Zirkon  
WHRoeder:
They correspond to the icon shown in the Journal tab.
0

1

2


Could be 3 also.

3    09:22:36.241    xxxx EURUSD,H1: not initialized

 The experts logs and any separate log that my EA generate do not have prefix on every line.   This only occurs in journal.log

And it's the same for Experts log and Journal log.
Jon Grah
367
Jon Grah  

https://www.metatrader4.com/en/trading-platform/help/overview/terminal/terminal_journal

So based on this and what you say above,


 
0   Informational message
1  error message
2  Warning
  ???

 

I have seen 3 occasionally reading through journal files.  The red ! triangle is #3 and the yellow ! triangle is #2.

To add comments, please log in or register