add support for maximum log size, and max number of log files
Signed-off-by: wlan0 <sidharthamn@gmail.com> Upstream-commit: 9b782d3af322bd8d9cf857d63eb7f2e0fe484c90 Component: engine
This commit is contained in:
@@ -19,7 +19,7 @@ func (cli *DockerCli) CmdLogs(args ...string) error {
|
||||
follow := cmd.Bool([]string{"f", "-follow"}, false, "Follow log output")
|
||||
since := cmd.String([]string{"-since"}, "", "Show logs since timestamp")
|
||||
times := cmd.Bool([]string{"t", "-timestamps"}, false, "Show timestamps")
|
||||
tail := cmd.String([]string{"-tail"}, "all", "Number of lines to show from the end of the logs")
|
||||
tail := cmd.String([]string{"-tail"}, "latest", "Number of lines to show from the end of the logs")
|
||||
cmd.Require(flag.Exact, 1)
|
||||
|
||||
cmd.ParseFlags(args, true)
|
||||
|
||||
Reference in New Issue
Block a user