Skip to content

Commit

Permalink
Reduce log level to debug
Browse files Browse the repository at this point in the history
This message is occurring a lot now that thread instrumentation is
on by default. Until we can change how unfinished segments behave
let's reduce the level.
  • Loading branch information
kaylareopelle committed Mar 14, 2023
1 parent bb7f4e1 commit b7f17eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/new_relic/agent/transaction/abstract_segment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def add_child_timing(segment)

def force_finish
finish
NewRelic::Agent.logger.warn("Segment: #{name} was unfinished at " \
NewRelic::Agent.logger.debug("Segment: #{name} was unfinished at " \
"the end of transaction. Timing information for this segment's " \
"parent #{parent&.name} in #{transaction.best_name} may be inaccurate.")
end
Expand Down

0 comments on commit b7f17eb

Please sign in to comment.