Use Logger.info

This commit is contained in:
2024-08-19 22:31:41 -04:00
parent dd9ac3c481
commit 039d1ca993
3 changed files with 9 additions and 9 deletions

View File

@@ -142,7 +142,7 @@ class CustomersController < ApplicationController
def share
Thread.new do
logger.debug "Removing expired customer tokens"
logger.info "Removing expired customer tokens"
CustomerToken.remove_expired_tokens
ActiveRecord::Base.connection.close
end

View File

@@ -97,7 +97,7 @@ class QboController < ApplicationController
id = entity['id'].to_i
name = entity['name']
logger.debug "Casting #{name.constantize} to obj"
logger.info "Casting #{name.constantize} to obj"
# Magicly initialize the correct class
obj = name.constantize