log to file instead of console