Permalink
Browse files

fix minor problem

  • Loading branch information...
JimGochee committed Jul 11, 2008
1 parent 46d91ab commit 41438bf2073df406d1a228ec2f57c66680d94a22
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/newrelic/agent/agent.rb
@@ -165,7 +165,7 @@ def start_reporting(force_enable=false)
sampler_config = config.fetch('transaction_tracer', {})
@use_transaction_sampler = sampler_config.fetch('enabled', false)
- @record_sql = (sampler_config.fetch('record_sql', nil) || 'obfuscated').intern
+ @record_sql = (sampler_config.fetch('record_sql', 'obfuscated') || 'off').intern
@slowest_transaction_threshold = sampler_config.fetch('transaction_threshold', '2.0').to_f
@explain_threshold = sampler_config.fetch('explain_threshold', '0.5').to_f
@explain_enabled = sampler_config.fetch('explain_enabled', true)

0 comments on commit 41438bf

Please sign in to comment.