Browse code

core: memlog and memdbg default value is L_DBG+1

- too verbose if just trying to use debug=3 in kamailio.cfg and mem
operations are useful only on troubleshooting memory, which is not the
typical troubleshooting case

Daniel-Constantin Mierla authored on 30/09/2014 16:11:02
Showing 1 changed files
... ...
@@ -64,7 +64,7 @@
64 64
 struct cfg_group_core default_core_cfg = {
65 65
 	L_WARN, 	/*!<  print only msg. < L_WARN */
66 66
 	LOG_DAEMON,	/*!< log_facility -- see syslog(3) */
67
-	L_DBG,  /*!< memdbg */
67
+	L_DBG+1,    /*!< memdbg */
68 68
 #ifdef USE_DST_BLACKLIST
69 69
 	/* blacklist */
70 70
 	0, /*!< dst blacklist is disabled by default */
... ...
@@ -115,7 +115,7 @@ struct cfg_group_core default_core_cfg = {
115 115
 	1500, /**< udp4_raw_mtu (1500 by default) */
116 116
 	-1,  /**< udp4_raw_ttl (auto detect by default) */
117 117
 	0,  /*!< force_rport */
118
-	L_DBG, /*!< memlog */
118
+	L_DBG+1, /*!< memlog */
119 119
 	3, /*!< mem_summary -flags: 0 off, 1 pkg_status, 2 shm_status,
120 120
 		4 pkg_sums, 8 shm_sums, 16 short_status */
121 121
 	0, /*!< mem_safety - 0 disabled */