Config Issue: `LOG_LEVEL` Environment Variable Not Overriding Default

I have this config set:
Config.logLevel("LOG_LEVEL").pipe(Config.withDefault(LogLevel.Info))

which works fine until I set LOG_LEVEL="INFO" in my .env file. What am I doing wrong? The error i get is:
default level:INFO must be included in custom levels


My provider is
Effect.withConfigProvider(ConfigProvider.fromEnv()),
Was this page helpful?