Bug 976727 - no debug log output when using haproxy_ctl -u --debug
no debug log output when using haproxy_ctl -u --debug
Status: CLOSED CURRENTRELEASE
Product: OpenShift Online
Classification: Red Hat
Component: Image (Show other bugs)
2.x
Unspecified Unspecified
low Severity low
: ---
: ---
Assigned To: Mrunal Patel
libra bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-21 06:08 EDT by Yan Du
Modified: 2015-05-14 20:33 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-01-23 22:22:33 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Yan Du 2013-06-21 06:08:53 EDT
Description of problem:
create a scalable app, scale up the app, there is no debug log outpuy when ssh into the app and using haproxy_ctl -u --debug cmd


Version-Release number of selected component (if applicable):
INT(deven_3395)
rhc-1.10.5


How reproducible:
Always


Steps to Reproduce:
1. Create an scaling perl app 
$ rhc app create cpl0s0 perl-5.10 -s

2. add disable_auto_scaling markers
touch .openshift/markers/disable_auto_scaling

and git push
3.scale up the app with rest api

4.ssh into app 
$ rhc app ssh cpl0s0
[cpl0s0-111.dev.rhcloud.com 7d89debeda5611e296bf12313d08098f]\> haproxy_ctld -u --debug


Actual results:
no debug log output when using haproxy_ctl -u --debug


Expected results:
debug infomation should show.
Comment 1 Mrunal Patel 2013-07-18 19:21:01 EDT
haproxy_ctld_daemon stop
haproxy_ctld_daemon start -- --debug
should start haproxy_ctld in debug mode.
Comment 2 Yan Du 2013-07-21 21:55:57 EDT
test on devenv_3535

still can't get debug info

[phps-111.dev.rhcloud.com 51ec8db11172310a2b000001]\> haproxy_ctld_daemon stop
[phps-111.dev.rhcloud.com 51ec8db11172310a2b000001]\> haproxy_ctld_daemon start -- --debug
[phps-111.dev.rhcloud.com 51ec8db11172310a2b000001]\> 
[phps-111.dev.rhcloud.com 51ec8db11172310a2b000001]\> haproxy_ctld -u --debug
[phps-111.dev.rhcloud.com 51ec8db11172310a2b000001]\>
Comment 3 Andy Goldstein 2013-11-04 17:11:37 EST
If you use the --debug flag, it will log at DEBUG level to haproxy/logs/scale_events.log. It does not print to STDOUT.
Comment 4 Yan Du 2013-11-05 04:19:42 EST
Test on devenv_3688

debug log save in haproxy/logs/scale_events.log when using --debug option.

move bug to verified.

Note You need to log in before you can comment on or make changes to this bug.