From 9ef11c9fb12f95ce870979bad4db32294a31e865 Mon Sep 17 00:00:00 2001 From: Emma Simon Date: Wed, 13 Nov 2024 16:18:19 -0500 Subject: [PATCH] fix: Get diskusage_logger functional (#238) This was added in other applications which use diskusage_logger, currently no diskusage_report logs are being written by the backend, and this looks like the reason why. --- config/prod.exs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/prod.exs b/config/prod.exs index c30fa5ec..95d289f7 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -13,5 +13,10 @@ config :logger, level: :info config :ehmon, :report_mf, {:ehmon, :info_report} +# diskusage_logger calls disksup, +# which by default uses df flags that aren't available on alpine's busybox. +# this tells disksup to use different df flags +config :os_mon, disksup_posix_only: true + # Runtime production configuration, including reading # of environment variables, is done on config/runtime.exs.