Skip to content

Commit

Permalink
feat: log date
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenbourgois committed Oct 11, 2021
1 parent 4c719d7 commit 3d87d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ config :logger,

config :logger, :file,
path: "/var/log/weather_data.log",
format: "$time $metadata[$level] $message\n",
format: "$date $time $metadata[$level] $message\n",
metadata: [:user_id],
level: :debug

0 comments on commit 3d87d35

Please sign in to comment.