Skip to content

Commit

Permalink
Tau - also log to stdout when in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
samaaron committed Dec 1, 2022
1 parent e33270d commit 5c70a31
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/server/beam/tau/config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@ config :tau,
handle_otp_reports: true,
handle_sasl_reports: true

config :logger,
if config_env() == :dev do
config :logger,
backends: [{LoggerFileBackend, :tau_file_log}, :console]
else
config :logger,
backends: [{LoggerFileBackend, :tau_file_log}]
end

config :logger, :tau_file_log,
path: log_path,
Expand Down

0 comments on commit 5c70a31

Please sign in to comment.