From 90e80f7b48af8bdc88d736f486473c5d4a8847f4 Mon Sep 17 00:00:00 2001 From: Frank Hunleth Date: Sun, 27 Aug 2023 20:43:05 -0400 Subject: [PATCH] fix: redirect log messages to stderr This makes error logs show up in VSCode's error window without interfering with communication over stdout. --- config/config.exs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/config.exs b/config/config.exs index 66b093dd..def8815d 100644 --- a/config/config.exs +++ b/config/config.exs @@ -2,4 +2,6 @@ import Config config :next_ls, :indexing_timeout, 100 +config :logger, :default_handler, config: [type: :standard_error] + import_config "#{config_env()}.exs"