diff --git a/app/services/charts/daily_statistic_generator.rb b/app/services/charts/daily_statistic_generator.rb index 343909873..29a9544ef 100644 --- a/app/services/charts/daily_statistic_generator.rb +++ b/app/services/charts/daily_statistic_generator.rb @@ -18,7 +18,7 @@ def call daily_statistic rescue Exception => e - NewRelic::Agent.notice_error(e.message) + Rails.logger.error "Error occurred during DailyStatisticGenerator error: #{e.message}" end private diff --git a/config/newrelic.yml b/config/newrelic.yml index 57e257c9a..a285af079 100644 --- a/config/newrelic.yml +++ b/config/newrelic.yml @@ -26,6 +26,7 @@ common: &default_settings # Logging level for log/newrelic_agent.log log_level: info + disable_sidekiq: true application_logging: # If `true`, all logging-related features for the agent can be enabled or disabled