logging to file on by default