Browse code

Replace M_DEBUG with D_LOW as the former is too verbose

M_DEBUG only indicates the type of the message and will print even
at verb 0. Use D_LOW which is M_DEBUG combined with verb = 4 and
a mute level.

Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1528229170-6175-1-git-send-email-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg16964.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>

Selva Nair authored on 2018/06/06 05:06:10
Showing 2 changed files
... ...
@@ -622,7 +622,7 @@ tls_ctx_load_ecdh_params(struct tls_root_ctx *ctx, const char *curve_name
622 622
 
623 623
     EC_KEY_free(ecdh);
624 624
 #else  /* ifndef OPENSSL_NO_EC */
625
-    msg(M_DEBUG, "Your OpenSSL library was built without elliptic curve support."
625
+    msg(D_LOW, "Your OpenSSL library was built without elliptic curve support."
626 626
         " Skipping ECDH parameter loading.");
627 627
 #endif /* OPENSSL_NO_EC */
628 628
 }
... ...
@@ -890,7 +890,7 @@ do_ifconfig(struct tuntap *tt,
890 890
         bool do_ipv6 = false;
891 891
         struct argv argv = argv_new();
892 892
 
893
-        msg( M_DEBUG, "do_ifconfig, tt->did_ifconfig_ipv6_setup=%d",
893
+        msg( D_LOW, "do_ifconfig, tt->did_ifconfig_ipv6_setup=%d",
894 894
              tt->did_ifconfig_ipv6_setup );
895 895
 
896 896
         /*