Skip to content

Commit

Permalink
Merge pull request #3213 from kenhys/tcp-listening-info
Browse files Browse the repository at this point in the history
in_tcp: show listening address and port for consistency with in_udp
  • Loading branch information
repeatedly committed Dec 23, 2020
2 parents 018fa3a + 44428c1 commit 36d017d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/fluent/plugin/in_tcp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def multi_workers_ready?
def start
super

log.info "listening tcp socket", bind: @bind, port: @port
del_size = @delimiter.length
if @_extract_enabled && @_extract_tag_key
server_create(:in_tcp_server_single_emit, @port, bind: @bind, resolve_name: !!@source_hostname_key) do |data, conn|
Expand Down

0 comments on commit 36d017d

Please sign in to comment.