lib/rocket_job/plugins/job/logger.rb in rocketjob-3.3.4 vs lib/rocket_job/plugins/job/logger.rb in rocketjob-3.4.0
- old
+ new
@@ -19,10 +19,10 @@
# - silence noisy jobs by raising log level
def rocket_job_around_logger(&block)
logger.info('Start #perform')
logger.measure_info(
'Completed #perform',
- metric: "RocketJob/#{self.class.name}/perform",
+ metric: "#{self.class.name}/perform",
log_exception: :full,
on_exception_level: :error,
silence: log_level,
&block
)