Fix typo, and expose max_retries setting in log