This should remove the filename headers in Bodhi's tail of logs.
Any +1s?
commit dd27d5bd55573c039f2cd809b1f0e124eb051cce (HEAD -> master) Author: Patrick Uiterwijk puiterwijk@redhat.com Date: Mon Apr 30 17:39:42 2018 +0200
Make bodhi openshift logs slightly more sane
Signed-off-by: Patrick Uiterwijk puiterwijk@redhat.com
diff --git a/roles/bodhi2/base/templates/configmap.yml b/roles/bodhi2/base/templates/configmap.yml index fcd95afb5..8221eb4ff 100644 --- a/roles/bodhi2/base/templates/configmap.yml +++ b/roles/bodhi2/base/templates/configmap.yml @@ -36,7 +36,7 @@ data: mkdir /httpdir/run ln -s /etc/httpd/modules /httpdir/modules truncate --size=0 /httpdir/accesslog /httpdir/errorlog - tail -f /httpdir/accesslog /httpdir/errorlog & + tail -qf /httpdir/accesslog /httpdir/errorlog & exec httpd -f /etc/bodhi/httpd.conf -DFOREGROUND -DNO_DETACH httpd.conf: |- Listen 0.0.0.0:8080
On Mon, Apr 30, 2018 at 05:42:11PM +0200, Patrick Uiterwijk wrote:
This should remove the filename headers in Bodhi's tail of logs.
Any +1s?
+1 for me
Pierre
commit dd27d5bd55573c039f2cd809b1f0e124eb051cce (HEAD -> master) Author: Patrick Uiterwijk puiterwijk@redhat.com Date: Mon Apr 30 17:39:42 2018 +0200
Make bodhi openshift logs slightly more sane Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
diff --git a/roles/bodhi2/base/templates/configmap.yml b/roles/bodhi2/base/templates/configmap.yml index fcd95afb5..8221eb4ff 100644 --- a/roles/bodhi2/base/templates/configmap.yml +++ b/roles/bodhi2/base/templates/configmap.yml @@ -36,7 +36,7 @@ data: mkdir /httpdir/run ln -s /etc/httpd/modules /httpdir/modules truncate --size=0 /httpdir/accesslog /httpdir/errorlog
- tail -f /httpdir/accesslog /httpdir/errorlog &
- tail -qf /httpdir/accesslog /httpdir/errorlog & exec httpd -f /etc/bodhi/httpd.conf -DFOREGROUND -DNO_DETACH httpd.conf: |- Listen 0.0.0.0:8080
infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
+1
-re
On Mon, Apr 30, 2018 at 11:48 AM, Pierre-Yves Chibon pingou@pingoured.fr wrote:
On Mon, Apr 30, 2018 at 05:42:11PM +0200, Patrick Uiterwijk wrote:
This should remove the filename headers in Bodhi's tail of logs.
Any +1s?
+1 for me
Pierre
commit dd27d5bd55573c039f2cd809b1f0e124eb051cce (HEAD -> master) Author: Patrick Uiterwijk puiterwijk@redhat.com Date: Mon Apr 30 17:39:42 2018 +0200
Make bodhi openshift logs slightly more sane Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
diff --git a/roles/bodhi2/base/templates/configmap.yml b/roles/bodhi2/base/templates/configmap.yml index fcd95afb5..8221eb4ff 100644 --- a/roles/bodhi2/base/templates/configmap.yml +++ b/roles/bodhi2/base/templates/configmap.yml @@ -36,7 +36,7 @@ data: mkdir /httpdir/run ln -s /etc/httpd/modules /httpdir/modules truncate --size=0 /httpdir/accesslog /httpdir/errorlog
- tail -f /httpdir/accesslog /httpdir/errorlog &
- tail -qf /httpdir/accesslog /httpdir/errorlog & exec httpd -f /etc/bodhi/httpd.conf -DFOREGROUND -DNO_DETACH httpd.conf: |- Listen 0.0.0.0:8080
infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
infrastructure@lists.fedoraproject.org