log to file in production