Configure logging with daily log rotation.