Thanks for the reply. The logs actually get written to remote Azure Blob Containers (under an Azure Storage Account as json files). From there the Blob Container gets mounted to a persistent volume of a Kubernetes pod container so that they can be read by Promtail which sends them to Loki.
I wanted to avoid writing logs to storage and get them written to stdout instead, however it is not possible in this case I guess.