From af18419eda20bcec6c5a3262f9468e1f719249ce Mon Sep 17 00:00:00 2001 From: Master Date: Mon, 29 Jun 2020 21:06:18 -0400 Subject: [PATCH] cleanup after changes --- src/Sproc/Sproc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Sproc/Sproc.cpp b/src/Sproc/Sproc.cpp index 99298b0..4ca89c6 100644 --- a/src/Sproc/Sproc.cpp +++ b/src/Sproc/Sproc.cpp @@ -80,14 +80,14 @@ int Sproc::execute(std::string run_as, std::string group, std::string command ) // child process if ( seteuid( run_as_uid ) == 0 ) { - slog.log( E_DEBUG, "Successfully set UID to '" + std::to_string(run_as_uid) + "'." ); + slog.log( E_INFO, "Successfully set UID to '" + std::to_string(run_as_uid) + "' (" + run_as + ")." ); } else { slog.log( E_FATAL, "Failed to set UID. Panicking." ); return -401; } if ( setegid( run_as_gid ) == 0 ) { - slog.log( E_DEBUG, "Successfully set GID to '" + std::to_string(run_as_gid) + "'." ); + slog.log( E_INFO, "Successfully set GID to '" + std::to_string(run_as_gid) + "' (" + group + ")." ); } else { slog.log( E_FATAL, "Failed to set GID. Panicking." ); return -401;