Repository navigation
Remove glog prefix from build log messages by default - #321
Conversation
|
@bparees PTAL |
|
hm, I was going to ask if this fixes openshift/origin#1647 ? but i'm actually looking at a current build log right now and i don't see any duplicated timestamps, either of the form shown in 1647 , or as described by you: |
|
this is not fixing duplicated timestamps, just making the log in web
|
|
hmm. can you show a sample of the before and after output? |
|
nm, i think i get it...should just be these lines: and everything up to "sti.go:430]" will be removed? |
$ s2i build --force-pull=false git://github.com/pmorie/simple-ruby openshift/ruby-22-centos7 test-ruby-app
---> Installing application source ...
---> Building your Ruby application from source ...
---> Running 'bundle install --deployment' ...
Fetching gem metadata from https://rubygems.org/..........
Installing rake 10.1.1
Installing coderay 1.1.0
Installing method_source 0.8.2
Installing slop 3.4.7
Installing pry 0.9.12.6
Installing rack 1.5.2
Using bundler 1.7.8
Your bundle is complete!
It was installed into ./bundle
---> Cleaning up unused ruby gems ... |
|
@bparees correct, alternatively I can put some timing information there in some nicer form than default glog... We now display the logs in web UI and my concern is that we should make them as much clean as possible :-) |
|
@mfojtik no, definitely don't add timestamps or we'll be back to the duplicate timestamps problem when running in openshift. |
|
@bparees will do rebase in openshift tomorrow to pick this up. |
|
Source To Image Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_sti/205/) |
|
[merge] |
|
Evaluated for source to image merge up to 5e6e40e |
Merged by openshift-bot
This patch will strip the glog prefix from the assemble script that run in container. It should make the logs in OpenShift much cleaner.
I also preserved an option to enable the glog programmatically and the glog is on by default for log levels greater than 3.