Skip to content

Instantly share code, notes, and snippets.

@RikiyaOta
Last active December 31, 2018 01:13
Show Gist options
  • Save RikiyaOta/83acd22601bc36684dd32cbb89b76f70 to your computer and use it in GitHub Desktop.
Save RikiyaOta/83acd22601bc36684dd32cbb89b76f70 to your computer and use it in GitHub Desktop.
configure each backends
# Configures backend :log1
config :logger, :log1,
path: Path.join([File.cwd!, "var", "log", "log1.log"]),
level: :info
# Configures backend :log2
config :logger, :log2,
path: Path.join([File.cwd!, "var", "log", "log2.log"]),
level: :debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment