Description of problem: run 'rhc app tidy' against an application of ruby-1.8 and ruby-1.9, the log files is not cleaned up, only clean up tmp files. Version-Release number of selected component (if applicable): on devenv_2756 rhc-1.4.3 How reproducible: Always Steps to Reproduce: 1. Create a ruby application rhc app create ruby800 ruby-1.8 2. Ssh into app's gear, create log files touch ${OPENSHIFT_RUBY_LOG_DIR}test.log 3. Clean up application with rhc rhc app tidy ruby800 Actual results: RESULT: ruby800 cleaned up But log files are still present [ruby800-ddy.dev.rhcloud.com ~]\> ls ${OPENSHIFT_RUBY_LOG_DIR} production.log error_log-20130201-000000-EST access_log-20130201-000000-EST test.log Expected results: log files should be cleaned up Additional info: the following app type can work well: perl-5.10 php-5.3 jbossas-7 jbosseap-6.0
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/d3f009fed84acaf60305f0cd071aec79ceb98c3a Bug 906671: Fix log location in Ruby tidy hook Fix the Ruby tidy hooks to clean logs from the correct location. Resolve https://bugzilla.redhat.com/show_bug.cgi?id=906671.
Verified on devenv_2765, they work well now.