Skip to content

Commit

Permalink
Merge pull request #22939 from agrare/remove_progname_from_file
Browse files Browse the repository at this point in the history
Remove `Vmdb::Logger.progname_from_file`
  • Loading branch information
Fryguy authored Mar 11, 2024
2 parents 1afe7ba + fed5146 commit fdf7994
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/vmdb/loggers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ def self.create_logger(log_file_name, logger_class = ManageIQ::Loggers::Base)
nil
end

private_class_method def self.progname_from_file(log_file_name)
File.basename(log_file_name, ".*")
end

private_class_method def self.create_wrapper_logger(log_file, logger_class, wrapped_logger)
log_file = Pathname.new(log_file) if log_file.kind_of?(String)
log_file = ManageIQ.root.join("log", log_file) if log_file.try(:dirname).to_s == "."
Expand Down

0 comments on commit fdf7994

Please sign in to comment.