1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Update: Use %H not %s in event type="log"

This commit is contained in:
Philipp Schafft 2022-03-21 10:34:32 +00:00
parent d12fedfd41
commit 9be05b6ab0

View File

@ -28,9 +28,9 @@ static int event_log_emit(void *state, event_t *event) {
event_log_t *self = state; event_log_t *self = state;
ICECAST_LOG(self->level, ICECAST_LOGFLAG_NONE, ICECAST_LOG(self->level, ICECAST_LOGFLAG_NONE,
"%s%strigger=\"%s\" uri=\"%s\" " "%s%strigger=%# H uri=%#H "
"connection_id=%lu connection_ip=\"%s\" connection_time=%lli " "connection_id=%lu connection_ip=%#H connection_time=%lli "
"client_role=\"%s\" client_username=\"%s\" client_useragent=\"%s\" client_admin_command=%i", "client_role=%# H client_username=%#H client_useragent=%# H client_admin_command=%i",
self->prefix ? self->prefix : "", self->prefix ? ": " : "", self->prefix ? self->prefix : "", self->prefix ? ": " : "",
event->trigger, event->trigger,
event->uri, event->uri,