Skip to content

Commit

Permalink
confile_utils: use lxc_log_trace()
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Feb 8, 2021
1 parent eb30db6 commit 6f86b90
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lxc/confile_utils.c
Expand Up @@ -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)) {
Expand Down

0 comments on commit 6f86b90

Please sign in to comment.