close_prot_errno_disarm(pipe_fds[0]);
- if (lxc_log_get_level() == LXC_LOG_LEVEL_TRACE ||
- conf->loglevel == LXC_LOG_LEVEL_TRACE) {
+ if (lxc_log_trace()) {
struct id_map *map;
struct lxc_list *it;
close_prot_errno_disarm(sock_fds[0]);
- if (lxc_log_get_level() == LXC_LOG_LEVEL_TRACE ||
- conf->loglevel == LXC_LOG_LEVEL_TRACE) {
+ if (lxc_log_trace()) {
struct id_map *map;
struct lxc_list *it;
/* idmap will now keep track of that memory. */
host_gid_map = NULL;
- if (lxc_log_get_level() == LXC_LOG_LEVEL_TRACE ||
- conf->loglevel == LXC_LOG_LEVEL_TRACE) {
+ if (lxc_log_trace()) {
lxc_list_for_each (cur, idmap) {
map = cur->elem;
TRACE("establishing %cid mapping for \"%d\" in new "
close_prot_errno_disarm(sock_fds[0]);
- if (lxc_log_get_level() == LXC_LOG_LEVEL_TRACE ||
- conf->loglevel == LXC_LOG_LEVEL_TRACE) {
+ if (lxc_log_trace()) {
struct id_map *map;
struct lxc_list *it;