diff options
| author | Christian Hopps <chopps@labn.net> | 2023-04-24 11:00:08 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-24 11:00:08 -0400 | 
| commit | 9b96394d05171db4ec44a46c120db07d94014688 (patch) | |
| tree | 341a5f848c43fad5bdbebb5673b077a3daf28916 /mgmtd/mgmt_txn.c | |
| parent | 76cd90fb4e183eeed8a5832b9581ee345a3cb8e8 (diff) | |
| parent | 048e1e7be84b3f266460efbb2bc38de99b71acb3 (diff) | |
Merge pull request #13149 from pushpasis/mgmt_cleanup_zlog
mgmtd, lib: Cleanup zlog_err()
Diffstat (limited to 'mgmtd/mgmt_txn.c')
| -rw-r--r-- | mgmtd/mgmt_txn.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/mgmtd/mgmt_txn.c b/mgmtd/mgmt_txn.c index 2ba0cb413a..05844653ce 100644 --- a/mgmtd/mgmt_txn.c +++ b/mgmtd/mgmt_txn.c @@ -20,10 +20,10 @@  #define MGMTD_TXN_ERR(fmt, ...)                                               \  	fprintf(stderr, "%s: ERROR, " fmt "\n", __func__, ##__VA_ARGS__)  #else /* REDIRECT_DEBUG_TO_STDERR */ -#define MGMTD_TXN_DBG(fmt, ...)                                               \ +#define MGMTD_TXN_DBG(fmt, ...)                                                \  	do {                                                                   \ -		if (mgmt_debug_txn)                                           \ -			zlog_err("%s: " fmt, __func__, ##__VA_ARGS__);         \ +		if (mgmt_debug_txn)                                            \ +			zlog_debug("%s: " fmt, __func__, ##__VA_ARGS__);       \  	} while (0)  #define MGMTD_TXN_ERR(fmt, ...)                                               \  	zlog_err("%s: ERROR: " fmt, __func__, ##__VA_ARGS__)  | 
