attach: tweak logging

Cc: stable-4.0 Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent e11f5b8c
...@@ -1289,6 +1289,8 @@ int lxc_attach(struct lxc_container *container, lxc_attach_exec_t exec_function, ...@@ -1289,6 +1289,8 @@ int lxc_attach(struct lxc_container *container, lxc_attach_exec_t exec_function,
ret = setup_proc_filesystem(&conf->procs, pid); ret = setup_proc_filesystem(&conf->procs, pid);
if (ret < 0) if (ret < 0)
goto on_error; goto on_error;
TRACE("Setup /proc/%d settings", pid);
} }
/* Setup resource limits */ /* Setup resource limits */
...@@ -1296,6 +1298,8 @@ int lxc_attach(struct lxc_container *container, lxc_attach_exec_t exec_function, ...@@ -1296,6 +1298,8 @@ int lxc_attach(struct lxc_container *container, lxc_attach_exec_t exec_function,
ret = setup_resource_limits(&conf->limits, pid); ret = setup_resource_limits(&conf->limits, pid);
if (ret < 0) if (ret < 0)
goto on_error; goto on_error;
TRACE("Setup resource limits");
} }
if (options->attach_flags & LXC_ATTACH_TERMINAL) { if (options->attach_flags & LXC_ATTACH_TERMINAL) {
......
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