Currently, Docker does support static additional fields in the GELF log driver through environment variables. I’d like a way to set additional fields each time I log. For example, a field that holds a trace ID or something similar that is specific to that log message, and not the entire application like teamName
.
Can anyone confirm that this isn’t currently supported? Any reason it couldn’t be added?
I’m trying to think of ways to support these “per log message” dynamic additional fields without breaking current behavior or having a heavy impact on performance.