From: Christian Brauner Date: Wed, 27 Jan 2021 19:35:06 +0000 (+0100) Subject: attach: tweak logging X-Git-Tag: lxc-5.0.0~314^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f3b6a85ed04d223ac5590e20037e9a9ae26754e;p=thirdparty%2Flxc.git attach: tweak logging Cc: stable-4.0 Signed-off-by: Christian Brauner --- diff --git a/src/lxc/attach.c b/src/lxc/attach.c index b9b8ac9d5..a59b20fe5 100644 --- a/src/lxc/attach.c +++ b/src/lxc/attach.c @@ -1289,6 +1289,8 @@ int lxc_attach(struct lxc_container *container, lxc_attach_exec_t exec_function, ret = setup_proc_filesystem(&conf->procs, pid); if (ret < 0) goto on_error; + + TRACE("Setup /proc/%d settings", pid); } /* Setup resource limits */ @@ -1296,6 +1298,8 @@ int lxc_attach(struct lxc_container *container, lxc_attach_exec_t exec_function, ret = setup_resource_limits(&conf->limits, pid); if (ret < 0) goto on_error; + + TRACE("Setup resource limits"); } if (options->attach_flags & LXC_ATTACH_TERMINAL) {