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
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
PR created (WIP): https://github.com/openshift/openshift-docs/pull/1495 Please take a look and offer suggestions. Thanks!
I will re-review after you update from current review. (I am dropping need-info now.)
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
Several rounds of edits are complete. Please reopen if further changes are needed.
Content is published: https://docs.openshift.com/enterprise/3.1/install_config/install/prerequisites.html#managing-docker-container-logs https://access.redhat.com/documentation/en/openshift-enterprise/version-3.1/installation-and-configuration/#managing-docker-container-logs https://access.redhat.com/documentation/en/openshift-enterprise/version-3.1/installation-and-configuration/#configuring-host-variables https://docs.openshift.com/enterprise/3.1/install_config/install/advanced_install.html#configuring-host-variables