|
|
|
|
|
by thedevopsguy
4388 days ago
|
|
Using a log shipper is probably the best workaround in this scenario 1.) logrotate at the end of the day
2.) have your logshipper watch docker log folder for each container
3) Log shipper ( or collector) ships files as they are updated to a central server and you are free to archive or delete as you wish. Many of the central logging systems can detect rolled logs, so this set up is not much of a stretch. I do agree more configurable logging is a bit of an oversight, especially for something like Docker. |
|