Bug 1286893 - [DOCS] [openshift-doc] Need documentation of container log rotation with json-file options
Summary: [DOCS] [openshift-doc] Need documentation of container log rotation with json...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Ashley Hardin
QA Contact: Vikram Goyal
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-01 03:18 UTC by Kenjiro Nakayama
Modified: 2016-02-15 16:35 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-15 16:35:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kenjiro Nakayama 2015-12-01 03:18:19 UTC
Description of problem:
- Docker 1.8.2 has the function to manage json-file logs. http://docs.docker.com/engine/reference/logging/overview/#the-json-file-options
- It should included in OSEv3 docs as well.


Document URL: 
- https://docs.openshift.com/enterprise/3.1/install_config/index.html


Section Number and Name: 
- The section of container log rotation should be inserted before/after 
Aggregating Container Logs section.


Suggestions for improvement: 
(Ref)  http://docs.docker.com/engine/reference/logging/overview/#the-json-file-options
(Ref) https://access.redhat.com/solutions/2064433


Additional information: 
- This ticket has been forked from https://bugzilla.redhat.com/show_bug.cgi?id=1252648#c19

Comment 1 Kenjiro Nakayama 2016-01-19 05:57:43 UTC
There are two sections to update. 

1. As I mentioned above, it should be added in the log section.(insert before/after Aggregating Container Logs section.)

2. Update advance installation section (https://docs.openshift.com/enterprise/3.1/install_config/install/advanced_install.html), since ansible installer can set the log option.

As for #2, I filed to github openshift-docs as well. - ref. https://github.com/openshift/openshift-docs/issues/1447

Comment 3 Ashley Hardin 2016-01-28 21:10:00 UTC
PR created (WIP): https://github.com/openshift/openshift-docs/pull/1495

Please take a look and offer suggestions. Thanks!

Comment 4 Kenjiro Nakayama 2016-02-02 04:08:16 UTC
I will re-review after you update from current review. (I am dropping need-info now.)

Comment 5 openshift-github-bot 2016-02-11 22:06:11 UTC
Commits pushed to master at https://github.com/openshift/openshift-docs

https://github.com/openshift/openshift-docs/commit/37817d38437ac2377c47eaecde2ad2ba2ea602b0
Bug 1286893, added info on container log rotation with json-file options

https://github.com/openshift/openshift-docs/commit/e81abaac30ce4279594c0e66c8b0a60e2b11f18b
Merge pull request #1495 from ahardin-rh/docker-log

Bug 1286893, added info on container log rotation with json-file options

Comment 6 Ashley Hardin 2016-02-11 22:25:43 UTC
Several rounds of edits are complete. Please reopen if further changes are needed.


Note You need to log in before you can comment on or make changes to this bug.