diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-05-16 23:31:06 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-05-16 23:31:06 +0200 |
commit | 53d5582fa006b0eb528f5dc3f4ba978abd8ac5a3 (patch) | |
tree | 42972cbb9c6c5eda315ead688068ec3693d5951f /src/pam-module.c | |
parent | 88a07670cfa974a605c7c7b520b8a3135fce37f9 (diff) |
pam: downgrade a few log msgs
Diffstat (limited to 'src/pam-module.c')
-rw-r--r-- | src/pam-module.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pam-module.c b/src/pam-module.c index 93eb929569..03864fed32 100644 --- a/src/pam-module.c +++ b/src/pam-module.c @@ -505,7 +505,7 @@ _public_ PAM_EXTERN int pam_sm_open_session( goto finish; } - pam_syslog(handle, LOG_INFO, "Moving new user session for %s into control group %s.", username, buf); + pam_syslog(handle, LOG_DEBUG, "Moving new user session for %s into control group %s.", username, buf); if ((r = create_user_group(handle, SYSTEMD_CGROUP_CONTROLLER, buf, pw, true, true)) != PAM_SUCCESS) goto finish; @@ -676,13 +676,13 @@ _public_ PAM_EXTERN int pam_sm_close_session( } if (kill_session && check_user_lists(handle, pw->pw_uid, kill_only_users, kill_exclude_users)) { - pam_syslog(handle, LOG_INFO, "Killing remaining processes of user session %s of %s.", id, username); + pam_syslog(handle, LOG_DEBUG, "Killing remaining processes of user session %s of %s.", id, username); /* Kill processes in session cgroup, and delete it */ if ((r = cg_kill_recursive_and_wait(SYSTEMD_CGROUP_CONTROLLER, session_path, true)) < 0) pam_syslog(handle, LOG_ERR, "Failed to kill session cgroup: %s", strerror(-r)); } else { - pam_syslog(handle, LOG_INFO, "Moving remaining processes of user session %s of %s into control group %s.", id, username, nosession_path); + pam_syslog(handle, LOG_DEBUG, "Moving remaining processes of user session %s of %s into control group %s.", id, username, nosession_path); /* Migrate processes from session to user * cgroup. First, try to create the user group |