You can get a MT5 log file be the following;
[PC]
Select "File"-"Open data folder" on MT5. Open "logs" folder.
[iPhone]
Select the journal "Settings"->"Log display" in the apps. Select the relevant date.
[Android]
Select "Log history" on the apps. Select the relevant date from the calendar on the top right