Skip to content

Commit

Permalink
Merge pull request moby#12387 from x1022as/inspect-logpath
Browse files Browse the repository at this point in the history
Inspect show right LogPath in json-file driver
  • Loading branch information
cpuguy83 committed Apr 15, 2015
2 parents 2499bae + acf025a commit f0c60f7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions daemon/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -1406,6 +1406,7 @@ func (container *Container) startLogging() error {
if err != nil {
return err
}
container.LogPath = pth

dl, err := jsonfilelog.New(pth)
if err != nil {
Expand Down
5 changes: 4 additions & 1 deletion docs/sources/reference/api/docker_remote_api_v1.18.md
Original file line number Diff line number Diff line change
Expand Up @@ -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": [{}]
Expand Down
5 changes: 4 additions & 1 deletion docs/sources/reference/api/docker_remote_api_v1.19.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,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": [{}]
Expand Down

0 comments on commit f0c60f7

Please sign in to comment.