Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fguillen opened this issue Aug 11, 2024 · 1 comment

Comments

@fguillen
Copy link

Environment

Provide at least:

  • rails_semantic_logger (4.17.0)
  • semantic_logger (4.16.0)
  • rails (7.1.3.3)
  • ruby: 3.2.4

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants