adjust logging level

This commit is contained in:
Liang Ding 2014-11-21 14:22:12 +08:00
parent 7d4e5e82d5
commit 7978606c0e
1 changed files with 6 additions and 6 deletions

View File

@ -47,7 +47,7 @@ func (procs *procs) add(wSession *session.WideSession, proc *os.Process) {
// bind process with wide session
wSession.SetProcesses(userProcesses)
glog.V(3).Infof("Session [%s] has [%d] processes", sid, len((*procs)[sid]))
glog.V(5).Infof("Session [%s] has [%d] processes", sid, len((*procs)[sid]))
}
// remove removes the specified process from the user process set.
@ -68,7 +68,7 @@ func (procs *procs) remove(wSession *session.WideSession, proc *os.Process) {
// bind process with wide session
wSession.SetProcesses(newProcesses)
glog.V(3).Infof("Session [%s] has [%d] processes", sid, len((*procs)[sid]))
glog.V(5).Infof("Session [%s] has [%d] processes", sid, len((*procs)[sid]))
return
}
@ -97,7 +97,7 @@ func (procs *procs) kill(wSession *session.WideSession, pid int) {
// bind process with wide session
wSession.SetProcesses(newProcesses)
glog.V(3).Infof("Killed a process [pid=%d] of session [%s]", pid, sid)
glog.V(5).Infof("Killed a process [pid=%d] of session [%s]", pid, sid)
}
return