From: Christian Brauner Date: Mon, 1 Feb 2021 21:54:47 +0000 (+0100) Subject: confile_utils: use lxc_log_trace() X-Git-Tag: lxc-5.0.0~307^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ac35afb78de15e87e0c91c12675ac34b57f9225;p=thirdparty%2Flxc.git confile_utils: use lxc_log_trace() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/confile_utils.c b/src/lxc/confile_utils.c index 7e2c7a57a..b316de5f9 100644 --- a/src/lxc/confile_utils.c +++ b/src/lxc/confile_utils.c @@ -225,8 +225,7 @@ void lxc_log_configured_netdevs(const struct lxc_conf *conf) struct lxc_netdev *netdev; struct lxc_list *it = (struct lxc_list *)&conf->network;; - if ((conf->loglevel != LXC_LOG_LEVEL_TRACE) && - (lxc_log_get_level() != LXC_LOG_LEVEL_TRACE)) + if (!lxc_log_trace()) return; if (lxc_list_empty(it)) {