mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
timesyncd: improve log message whe getting a reply from server
The message is misleading: it's not about synchronization but about successful communicaiton. And it's not about "initial", but only about first contact since we siwtched to this server. Let's hence reword the message a bit.
This commit is contained in:
parent
b016e77efd
commit
922a650829
@ -611,9 +611,8 @@ static int manager_receive_response(sd_event_source *source, int fd, uint32_t re
|
||||
|
||||
(void) server_address_pretty(m->current_server_address, &pretty);
|
||||
|
||||
/* "Initial", as further successful syncs will not be logged. */
|
||||
log_info("Initial synchronization to time server %s (%s).", strna(pretty), m->current_server_name->string);
|
||||
(void) sd_notifyf(false, "STATUS=Initial synchronization to time server %s (%s).", strna(pretty), m->current_server_name->string);
|
||||
log_info("Contacted time server %s (%s).", strna(pretty), m->current_server_name->string);
|
||||
(void) sd_notifyf(false, "STATUS=Contacted time server %s (%s).", strna(pretty), m->current_server_name->string);
|
||||
}
|
||||
|
||||
if (!spike && !m->synchronized) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user