mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-07 17:17:44 +03:00
core: Bump log level of reexecute request to notice
A daemon-reload is important enough to deserve logging at notice level. (cherry picked from commit 4ee41be82507348fbbc9d3ab28aae6330eb51663) (cherry picked from commit 31e38b55b2e4bb1aa42fe106ea14df8e82758303) (cherry picked from commit79dc77a7ff
) (cherry picked from commit50e3bc139f
)
This commit is contained in:
parent
400261fd55
commit
caae99a948
@ -1557,10 +1557,10 @@ static void log_caller(sd_bus_message *message, Manager *manager, const char *me
|
||||
(void) sd_bus_creds_get_comm(creds, &comm);
|
||||
caller = manager_get_unit_by_pid(manager, pid);
|
||||
|
||||
log_info("%s requested from client PID " PID_FMT "%s%s%s%s%s%s...",
|
||||
method, pid,
|
||||
comm ? " ('" : "", strempty(comm), comm ? "')" : "",
|
||||
caller ? " (unit " : "", caller ? caller->id : "", caller ? ")" : "");
|
||||
log_notice("%s requested from client PID " PID_FMT "%s%s%s%s%s%s...",
|
||||
method, pid,
|
||||
comm ? " ('" : "", strempty(comm), comm ? "')" : "",
|
||||
caller ? " (unit " : "", caller ? caller->id : "", caller ? ")" : "");
|
||||
}
|
||||
|
||||
static int method_reload(sd_bus_message *message, void *userdata, sd_bus_error *error) {
|
||||
|
Loading…
Reference in New Issue
Block a user