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;