prefix number code in terminal / tester journal logs

 

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

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

1

2

 
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.
 

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.

Reason: