Inspect show right LogPath in json-file driver
@@ -1406,6 +1406,7 @@ func (container *Container) startLogging() error {
if err != nil {
return err
}
+ container.LogPath = pth
dl, err := jsonfilelog.New(pth)
@@ -359,7 +359,10 @@ Return low-level information on the container `id`
"MaximumRetryCount": 2,
"Name": "on-failure"
},
- "LogConfig": { "Type": "json-file", Config: {} },
+ "LogConfig": {
+ "Config": null,
+ "Type": "json-file"
+ },
"SecurityOpt": null,
"VolumesFrom": null,
"Ulimits": [{}]
@@ -362,7 +362,10 @@ Return low-level information on the container `id`
- "LogConfig": { "Type": "json-file", "Config": {} },