title: Logging with Docker and Kubernetes. Logs more than 16k split up
body: <p>I am using
  Docker version 17.12.1-ce
  Kubernetes verision v1.10.11</p>
  
  <p>My application prints the log in Json format to the console. One of the fields is stackTrace, which can include a huge stackTrace. </p>
  
  <p>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? </p>
  
  <p>Should I cut my stackTrace? Or customize the size? Is this permitted? Is it the correct way to deal with this issue? </p>
  
  <p>p/s I am using json-file logging driver</p>