log to file temporarily