Skip to content

Commit

Permalink
fix: use the Postal logger system for the rails log
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcooke committed Feb 14, 2022
1 parent 2053a1d commit 5b04fac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@ class Application < Rails::Application
# Load the tracking server middleware
require 'postal/tracking_middleware'
config.middleware.use Postal::TrackingMiddleware

config.logger = Postal.logger_for(:rails)
end
end

1 comment on commit 5b04fac

@youngmike0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adam,
Can you help me with postal. You seem to have a heart beat on it sir. error i am getting is smtp-server user-list-filename
I would greatly appreciate your help

Please sign in to comment.