Skip to content

Commit

Permalink
test: fix logger error
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanberg committed Jan 18, 2024
1 parent 5007898 commit 12096b0
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 12 deletions.
12 changes: 0 additions & 12 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,4 @@ import Config

config :next_ls, :indexing_timeout, 100

config :logger, :default_handler,
config: [
file: ~c".elixir-tools/next-ls.log",
filesync_repeat_interval: 5000,
file_check: 5000,
max_no_bytes: 10_000_000,
max_no_files: 5,
compress_on_rotate: true
]

config :logger, :default_formatter, format: "\n$time $metadata[$level] $message\n", metadata: [:id]

import_config "#{config_env()}.exs"
12 changes: 12 additions & 0 deletions config/dev.exs
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
import Config

config :logger, :default_handler,
config: [
file: ~c".elixir-tools/next-ls.log",
filesync_repeat_interval: 5000,
file_check: 5000,
max_no_bytes: 10_000_000,
max_no_files: 5,
compress_on_rotate: true
]

config :logger, :default_formatter, format: "\n$time $metadata[$level] $message\n", metadata: [:id]
12 changes: 12 additions & 0 deletions config/prod.exs
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
import Config

config :logger, :default_handler,
config: [
file: ~c".elixir-tools/next-ls.log",
filesync_repeat_interval: 5000,
file_check: 5000,
max_no_bytes: 10_000_000,
max_no_files: 5,
compress_on_rotate: true
]

config :logger, :default_formatter, format: "\n$time $metadata[$level] $message\n", metadata: [:id]

0 comments on commit 12096b0

Please sign in to comment.