Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ensures httpd error_log and access_log are seen by docker or oc logs commands #244

Merged
merged 1 commit into from
Jan 15, 2018

Conversation

abellotti
Copy link
Member

Updated httpd application.conf config file so error_log and access_log also sent to the container's stdout/stderr. This allows the httpd pod logs to be accessed via docker logs or oc logs.

are also sent to the container's stdout/stderr.  This allows the httpd
pod logs to be accessed via docker logs or oc logs.
@miq-bot miq-bot added the wip label Nov 8, 2017
@abellotti
Copy link
Member Author

@fbladilo can I bother you to try out on openshift, works for me on minishift using either docker logs or oc logs command.

@abellotti
Copy link
Member Author

/cc @bdunne - after many tries (and errors), this one worked for me.

@abellotti
Copy link
Member Author

@miq-bot
Copy link
Member

miq-bot commented Nov 8, 2017

Checked commit abellotti@8e36ef1 with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0
0 files checked, 0 offenses detected
Everything looks fine. 🏆

@abellotti abellotti changed the title [WIP] Ensures httpd error_log and access_log are seen by docker or oc logs commands Ensures httpd error_log and access_log are seen by docker or oc logs commands Nov 30, 2017
@miq-bot miq-bot removed the wip label Nov 30, 2017
@bdunne bdunne merged commit b80cb34 into ManageIQ:master Jan 15, 2018
@bdunne bdunne added this to the Sprint 77 Ending Jan 15, 2018 milestone Jan 15, 2018
@bdunne bdunne self-assigned this Jan 15, 2018
simaishi pushed a commit that referenced this pull request Jan 15, 2018
Ensures httpd error_log and access_log are seen by docker or oc logs commands
(cherry picked from commit b80cb34)
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit 363ff05110987ff1c6a9169cf05287761f6217ec
Author: Brandon Dunne <brandondunne@hotmail.com>
Date:   Mon Jan 15 10:13:56 2018 -0500

    Merge pull request #244 from abellotti/httpd_stdout_stderr
    
    Ensures httpd error_log and access_log are seen by docker or oc logs commands
    (cherry picked from commit b80cb34afa62d0b7747fef0a9f6354aaf3c85310)

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants