This repository has been archived by the owner on Jan 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add compress option for 'jsonfiles' log driver
This PR adds support for compressibility of log file. I added a new option conpression for the jsonfile log driver, this option allows the user to specify compression algorithm to compress the log files. By default, the log files will be not compressed. At present, only support 'gzip'. Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn> 'docker logs' can read from compressed files Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn> Add Metadata to the gzip header, optmize 'readlog' Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
- Loading branch information
Yanqiang Miao
committed
Mar 15, 2018
1 parent
241c904
commit f69f09f
Showing
3 changed files
with
322 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.