mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 00:51:24 +03:00
varlink: remove duplicated "varlink:" prefix
We had: systemd[1]: varlink-36: New incoming message: {"method":"io.systemd.UserDatabase.GetMemberships","parameters":{"userName":"gdm","service":"io.systemd.DynamicUser"},"more":true} systemd[1]: varlink-36: varlink: changing state idle-server → processing-method-more systemd[1]: varlink-36: Sending message: {"error":"io.systemd.UserDatabase.NoRecordFound","parameters":{}} systemd[1]: varlink-36: varlink: changing state processing-method-more → processed-method systemd[1]: varlink-36: varlink: changing state processed-method → idle-server systemd[1]: varlink-36: Got POLLHUP from socket. systemd[1]: varlink-36: varlink: changing state idle-server → pending-disconnect systemd[1]: varlink-36: varlink: changing state pending-disconnect → processing-disconnect systemd[1]: varlink-36: varlink: changing state processing-disconnect → disconnected So let's drop the "varlink:" prefix and use capitalized sentences like in other messages.
This commit is contained in:
parent
f35e9b101d
commit
953394e3bb
@ -233,10 +233,10 @@ static void varlink_set_state(Varlink *v, VarlinkState state) {
|
|||||||
assert(state >= 0 && state < _VARLINK_STATE_MAX);
|
assert(state >= 0 && state < _VARLINK_STATE_MAX);
|
||||||
|
|
||||||
if (v->state < 0)
|
if (v->state < 0)
|
||||||
varlink_log(v, "varlink: setting state %s",
|
varlink_log(v, "Setting state %s",
|
||||||
varlink_state_to_string(state));
|
varlink_state_to_string(state));
|
||||||
else
|
else
|
||||||
varlink_log(v, "varlink: changing state %s → %s",
|
varlink_log(v, "Changing state %s → %s",
|
||||||
varlink_state_to_string(v->state),
|
varlink_state_to_string(v->state),
|
||||||
varlink_state_to_string(state));
|
varlink_state_to_string(state));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user