Bug #13772

The orchestration code uses SQL logger

Added by Ivan Necas about 1 year ago. Updated 1 day ago.

Status:Ready For Testing
Priority:Normal
Assigned To:Lukas Zapletal
Category:Orchestration
Target version:Team Daniel - iteration 3
Difficulty: Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/foreman/pull/3729
Story points-
Velocity based estimate-

Description

It should have it's own logger. Ideally with using the hierarchy system,
that the Logging library provides, https://github.com/TwP/logging/blob/master/examples/hierarchies.rb
so that one could extract logging for the whole orchestration, or a part of it.


Related issues

Related to Foreman - Bug #14980: Unused_ip AJAX request fails: undefined method `from' for... Closed 05/10/2016
Related to Katello - Support #19002: Use ApplicationRecord instead of ActiveRecord::Base New 03/23/2017
Related to Discovery - Refactor #19003: Use ApplicationRecord instead of ActiveRecord::Base Ready For Testing 03/23/2017
Related to Foreman - Tracker #15715: Rails 5.0 upgrade tasks New 07/18/2016

History

#1 Updated by Lukas Zapletal 11 months ago

  • Related to Bug #14980: Unused_ip AJAX request fails: undefined method `from' for #<IPAM::Dhcp..> added

#2 Updated by The Foreman Bot 8 months ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman/pull/3729 added

#3 Updated by Daniel Lobato Garcia 7 months ago

  • Target version set to Team Daniel - iteration 2

#4 Updated by Daniel Lobato Garcia 7 months ago

  • Target version changed from Team Daniel - iteration 2 to Team Daniel - iteration 3

#5 Updated by Lukas Zapletal 7 days ago

  • Related to Support #19002: Use ApplicationRecord instead of ActiveRecord::Base added

#6 Updated by Lukas Zapletal 7 days ago

  • Related to Refactor #19003: Use ApplicationRecord instead of ActiveRecord::Base added

#7 Updated by Lukas Zapletal 1 day ago

#8 Updated by Lukas Zapletal 1 day ago

The implementation uses ApplicationRecord - new feature of Rails 5. Associated tracking ticket.

#9 Updated by Dominic Cleal 1 day ago

Lukas Zapletal wrote:

The implementation uses ApplicationRecord - new feature of Rails 5. Associated tracking ticket.

An abstract base class is nothing to do with Rails 5!

Also available in: Atom PDF