With the change from https://github.com/elastic/elastic-agent-libs/pull/236 we now handle the environment in multiple places when initializing a logger. We can try and keep this logic in `logp.DefaultConfig` in order to clean up [createLogOutput](https://github.com/elastic/elastic-agent-libs/blob/196dace11604a4403f4466812a150ff993c0261c/logp/core.go#L264-L271).