pkg/endpoint: fix data race in endpoint logger
pkg/endpoint: fix data race in endpoint logger

The endpoint logger was concurrently setting the log level of the global
logger. By initializing a new logger we avoid that concurrency problem.

More info in https://github.com/cilium/cilium/issues/18728

Signed-off-by: André Martins <bc9800b9d52a24cce72a73dd528afed53f10e5fc@cilium.io>

cilium/cilium,michi-covalent/cilium,michi-covalent/cilium,michi-covalent/cilium,michi-covalent/cilium,michi-covalent/cilium,cilium/cilium,cilium/cilium,cilium/cilium,cilium/cilium