-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Description
I am not sure whether this is an issue or a question.
Below is my configuration which works fine:
config :logger, backends: [{LoggerFileBackend, :error_log}]
Now I want to add a format for the log and I am not sure how to do that. I tried a few configuration but none of them work as below. How can I configure the format?
config :logger, backends: [{LoggerFileBackend, :error_log, format: "\n$date $time $metadata $levelpad$message\n"}]
config :logger, backends: [{LoggerFileBackend, :error_log}],
format: "\n$date $time $metadata $levelpad$message\n"
Metadata
Metadata
Assignees
Labels
No labels