diff --git a/lib/http.c b/lib/http.c
index 7358f7aebed0dd19af3cb3860b1b07e84348cf8c..a7961cba5bb3dde9539c88211e46b8c0d7fadd4f 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -501,9 +501,11 @@ int Curl_http_should_fail(struct connectdata *conn)
   ** the client needs to reauthenticate.  Once that info is
   ** available, use it here.
   */
+#if 0 /* set to 1 when debugging this functionality */
   infof(data,"%s: authstage = %d\n",__FUNCTION__,data->state.authstage);
   infof(data,"%s: httpcode = %d\n",__FUNCTION__,k->httpcode);
   infof(data,"%s: authdone = %d\n",__FUNCTION__,data->state.authdone);
+#endif
 
   if (data->state.authstage &&
       (data->state.authstage == k->httpcode))