Tlog Arducopter

How to get Tlog file before arming the multirotor?

AFAIK the .tlog file gets stored by MavProxy or mission planner when you close the programs. So after the flight, not before it.