Skip to content

Commit 878d3e2

Browse files
committed
Logger startup records are tagged
1 parent b6bae56 commit 878d3e2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/consumer/postgres/postgres.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ def print_startup_info
3030
end
3131

3232
def log_startup_info
33-
logger.debug(tag: :*) { "Batch Size: #{get.batch_size.inspect}" }
34-
logger.debug(tag: :*) { "Correlation: #{correlation.inspect}" }
35-
logger.debug(tag: :*) { "Group Member: #{group_member.inspect}" }
36-
logger.debug(tag: :*) { "Group Size: #{group_size.inspect}" }
37-
logger.debug(tag: :*) { "Condition: #{condition.inspect}" }
33+
logger.info(tags: [:consumer, :start]) { "Batch Size: #{get.batch_size.inspect}" }
34+
logger.info(tags: [:consumer, :start]) { "Correlation: #{correlation.inspect}" }
35+
logger.info(tags: [:consumer, :start]) { "Group Member: #{group_member.inspect}" }
36+
logger.info(tags: [:consumer, :start]) { "Group Size: #{group_size.inspect}" }
37+
logger.info(tags: [:consumer, :start]) { "Condition: #{condition.inspect}" }
3838
end
3939

4040
def starting

0 commit comments

Comments
 (0)