reidmorrison / rails_semantic_logger

Rails Semantic Logger replaces the Rails default logger with Semantic Logger
https://logger.rocketjob.io/rails
Apache License 2.0
338 stars 124 forks source link

When "rails_semantic_logger" is in my Gemfile the ActionMailer logs are not shown #234

Open fguillen opened 3 months ago

fguillen commented 3 months ago

Environment

Provide at least:

Expected Behavior

I have this in my environments/development.rb:

  config.action_mailer.raise_delivery_errors = true
  config.action_mailer.perform_caching = false
  config.action_mailer.perform_deliveries = true
  config.action_mailer.logger = ActiveSupport::Logger.new("#{Rails.root}/log/mailer.log")
  config.action_mailer.delivery_method = :test

I would like to see the email logs in the file "/log/mailer.log"

Actual Behavior

The file is not getting updated.

If I remove this line from my Gemfile:

gem "rails_semantic_logger"

The file is successfully updated with the email logs

DmitryRibalka commented 1 month ago

The same to me. if gem 'rails_semantic_logger' is added i have no logging, also action cable doesn't work. rails_semantic_logger (4.17.0) semantic_logger (4.16.0) rails (6.1.7.8) ruby: 3.2.5