Eventlet/WSGI logger needs to use same logging as Glance

Bug #736789 reported by Andrey Brindeyev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Medium
Jay Pipes

Bug Description

Logging should be in /var/log/glance/glance-api.log instead of STDOUT:

# /sbin/start-stop-daemon --start -c glance:nobody --make-pidfile --pidfile /var/run/glance/glance-api.pid --exec /usr/bin/glance-api -- -v --log-file=/var/log/glance/glance-api.log
(28369) wsgi starting up on http://0.0.0.0:9292/
localhost.localdomain - - [17/Mar/2011 13:34:32] code 400, message Bad HTTP/0.9 request type ('DUMMY')
localhost.localdomain - - [17/Mar/2011 13:34:32] "DUMMY TEST" 400 -

If I can add -d command line swith that only DEBUG data goes to log. Data above still goes to STDOUT.
I have log_config unspecified in /etc/glance/glance.conf

Related branches

Revision history for this message
Jay Pipes (jaypipes) wrote :

Thanks Andrey! I'll look into this shortly.

Changed in glance:
milestone: none → cactus-2011-04-11
importance: Undecided → Medium
status: New → Confirmed
summary: - Glance does not honor log-file option
+ Eventlet/WSGI logger needs to use same logging as Glance
Jay Pipes (jaypipes)
Changed in glance:
assignee: nobody → Jay Pipes (jaypipes)
Jay Pipes (jaypipes)
Changed in glance:
status: Confirmed → In Progress
Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: cactus-2011-03-24 → 2011.2
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.