Configure logging to file for production diagnostics