Fix log testing method
Sepearte log file init from write
Ignore invalid logfile path

Obviously, I can't log an error message for it!
Initiate logger first

So that it's ready for errors from load_* methods