lib/rocket_job/plugins/job/logger.rb in rocketjob-2.0.0.rc3 vs lib/rocket_job/plugins/job/logger.rb in rocketjob-2.0.0

- old
+ new

@@ -18,10 +18,10 @@ # - log_exception logs entire exception if raised # - on_exception_level changes log level from info to error on exception # - silence noisy jobs by raising log level def rocket_job_around_logger(&block) logger.info('Start #perform') - logger.benchmark_info( + logger.measure_info( 'Completed #perform', metric: "rocketjob/#{self.class.name.underscore}/perform", log_exception: :full, on_exception_level: :error, silence: log_level,