Remove logging for uid without username

Signed-off-by: thecoder-001 <ayush06feb@gmail.com>
This commit is contained in:
thecoder-001 2024-04-28 23:53:27 +05:30
parent 9a37395744
commit 5ba45f7633
No known key found for this signature in database

View file

@ -1253,7 +1253,6 @@ namespace Proc {
new_proc.user = pwd->pw_name;
} else {
new_proc.user = std::to_string(kproc.kp_eproc.e_ucred.cr_uid);
Logger::warning("Could not retrieve user information for user ID:" + std::to_string(kproc.kp_eproc.e_ucred.cr_uid) + " (pid:" + std::to_string(pid) + ")");
}
}
new_proc.p_nice = kproc.kp_proc.p_nice;