-
I'm using .NET 6
docker-compose file is pretty much like the article above:
it still works when using Serilog to log to the console (I've checked within container logs), and I've tried SelfLog but having no error neither. what am I missing here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
EDIT: seems like there's a change from v8 that using the different logging format: https://github.com/serilog-contrib/serilog-sinks-grafana-loki/wiki/Using-LokiJsonTextFormatter-and-Grafana-Loki-json-parser |
Beta Was this translation helpful? Give feedback.
-
thanks to @mishamyte, it turns out to be I have to labeling the log to be written inside (either using LokiLabel or propertiesAsLabels if I had properties added previously) - that was the featured added within v8 that I have to explicitly specify which label to be added |
Beta Was this translation helpful? Give feedback.
thanks to @mishamyte, it turns out to be I have to labeling the log to be written inside (either using LokiLabel or propertiesAsLabels if I had properties added previously) - that was the featured added within v8 that I have to explicitly specify which label to be added