cp-docker-images
cp-docker-images copied to clipboard
Log with JSON
Hi, This might be a noob issue, but I haven't found a way to deal with this yet.
I need to log using JSON, while graylog2 breaks every line to separate messages.
I would normally use an appender net.logstash.logback.encoder.LogstashEncoder, but for that I need an additional dependency in POM. (also this would probably not work as you are using log4j not logback)
Is there some clever way to deal with this only in Docker?