I am usingDocker version 17.12.1-ceKubernetes verision v1.10.11
My application prints the log in Json format to the console. One of the fields is stackTrace, which can include a huge stackTrace.
The problem is that the log message is split up into two messages. So if I look at the /var/lib/docker/containers/ ... .log I see two messages. I read that this is done for security reasons, but I don't really understand what I can do with that?
Should I cut my stackTrace? Or customize the size? Is this permitted? Is it the correct way to deal with this issue?
p/s I am using json-file logging driver