confile_utils: use lxc_log_trace()

parent 62fef886
...@@ -225,8 +225,7 @@ void lxc_log_configured_netdevs(const struct lxc_conf *conf) ...@@ -225,8 +225,7 @@ void lxc_log_configured_netdevs(const struct lxc_conf *conf)
struct lxc_netdev *netdev; struct lxc_netdev *netdev;
struct lxc_list *it = (struct lxc_list *)&conf->network;; struct lxc_list *it = (struct lxc_list *)&conf->network;;
if ((conf->loglevel != LXC_LOG_LEVEL_TRACE) && if (!lxc_log_trace())
(lxc_log_get_level() != LXC_LOG_LEVEL_TRACE))
return; return;
if (lxc_list_empty(it)) { if (lxc_list_empty(it)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment