enabled logging to file