-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upstream MS changes #382
Upstream MS changes #382
Conversation
Because the way s2i works, most applications run in the build images. This change won't have the effect of causing most application to run with the json output. I think many of our users end up looking at the text in the OpenShift console. I prefer users set this envvar themselves based on the log collection infra they use in OpenShift.
I'm ok with replacing Should this be in the build image? I'd guess it gets read by the SDK. note: because we're building a .NET app in the build image (the |
Maybe. I think it's worth keeping format in json, for several reasons.
Edit: alternatively, maybe we should consider adding .NET support to fluent-plugin-detect-exceptions?
If that's the route we want to go down, we should document this, so they know they can easily adjust the log format, as well as how to do it. |
If we have it, we need to set it in both the runtime and sdk image.
I think Microsoft's decision is driven by how things work/look best in Azure. We need to look from the OpenShift perspective.
In the pod log it's not an issue afaik. Because the pod log UI doesn't do any formatting, I think that, for humans, the text format is preferable because it is easier to understand, and matches what is shown during development.
I've known this, but I have not seen it exposed. It's not clear how making the format more fluend friendly, makes the user experience better.
It should be documented as part of something that describes how to best integrate .NET logging into OpenShift log infra. My personal experience is limited to looking at the pods logs. |
These are changes to bring us more in line with some of MS's default setup.
See the following:
https://github.com/dotnet/dotnet-docker/pull/2710/files
dotnet/dotnet-docker#2725