Skip to content

Commit

Permalink
log: Fix the default prefix
Browse files Browse the repository at this point in the history
"listen_fd(123): foo" is better than "listen_fd 14foo"
  • Loading branch information
sirainen authored and cmouse committed Aug 7, 2018
1 parent fcc1bf4 commit 241cee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/log/log-connection.c
Expand Up @@ -405,7 +405,7 @@ void log_connection_create(struct log_error_buffer *errorbuf,
log->listen_fd = listen_fd;
log->io = io_add(fd, IO_READ, log_connection_input, log);
log->input = i_stream_create_fd(fd, PIPE_BUF);
log->default_prefix = i_strdup_printf("listen_fd %d", listen_fd);
log->default_prefix = i_strdup_printf("listen_fd(%d): ", listen_fd);
hash_table_create_direct(&log->clients, default_pool, 0);
array_idx_set(&logs_by_fd, listen_fd, &log);

Expand Down

0 comments on commit 241cee9

Please sign in to comment.