pavelw
Hi guys,
does anyone know how to switch off ( get rid off ) log messages from Swoosh library ( STMP configured ).
I’m still struggling with it, but can’t find the way ( config ) where to switch it off.
Thx,
Pavel
13:15:28.640 [debug] Headers: [
{“Content-Transfer-Encoding”, “quoted-printable”},
{“Content-Type”, “text/html; charset="utf-8"”}
]
13:15:28.640 [debug] Headers: [
{“Content-Disposition”, “inline”},
{“Content-Transfer-Encoding”, “quoted-printable”},
{“Content-Type”, “text/html; charset="utf-8"”}
]
13:15:28.640 [debug] Headers: [
{“Content-Type”, “text/html; charset="utf-8"”},
{“Content-Transfer-Encoding”, “quoted-printable”},
{“Content-Disposition”, “inline”}
]
13:15:28.640 [debug] Headers: [{“Content-Transfer-Encoding”, “base64”}]
13:15:28.640 [debug] Headers: [
{“Content-Type”,
“application/vnd.openxmlformats-officedocument.spreadsheetml.sheet”},
{“Content-Transfer-Encoding”, “base64”}
]
13:15:28.640 [debug] Headers: [
{“Content-Disposition”, “attachment;filename=zame_export_202105_AG_C.xlsx”},
{“Content-Type”,
“application/vnd.openxmlformats-officedocument.spreadsheetml.sheet”},
{“Content-Transfer-Encoding”, “base64”}
]
13:15:28.640 [debug] Headers: [
{“Content-Transfer-Encoding”, “base64”},
{“Content-Type”,
“application/vnd.openxmlformats-officedocument.spreadsheetml.sheet”},
{“Content-Disposition”, “attachment;filename=zame_export_202105_AG_C.xlsx”}
]
13:15:28.867 [warn] Description: ‘Authenticity is not established by certificate path validation’
Reason: ‘Option {verify, verify_peer} and cacertfile/cacerts is missing’
Trending in Questions
Other Trending Topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming











Showing Posts 1 to 4- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
derek-zhou
Those are debug print. Once you run in prod they won’t show.
astery
You could add a filter for logger - logger — OTP 29.0.2 (kernel 11.0.2)
Like in discussion here - How can I filter info message in log
pavelw
Hi,
thx a lot for both answers, I rebuild the app with MIX_ENV=prod and it works now properly.
In the evening I’m going to read the discussion ‘How to filter ..’
Pavel
princemaple
These are from
gen_smtp. Swoosh doesn’t have a single line ofLogger.debug.