WSME pollutes the httpd error log with some prints

Bug #1426439 reported by Stéphane Bisinger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
WSME
Fix Released
Undecided
Stéphane Bisinger

Bug Description

When a SOAP webservice is called the are some log lines in the httpd error log that look more like debugging information:

[Fri Feb 27 17:24:14.989575 2015] [:error] [pid 8730:tid 3918461760] ('encode_result', 5.0)
[Fri Feb 27 17:24:14.989702 2015] [:error] [pid 8730:tid 3918461760] ('soap_response', <type 'float'>, 5.0)

These are caused by some print() function calls in wsmeext/soap/protocol.py, lines 191, 206, 402 and 409

They should be converted to a call to logging.debug or completely removed.

Tags: soap
tags: added: soap
Changed in wsme:
assignee: nobody → Stéphane Bisinger (kjir)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to wsme (master)

Fix proposed to branch: master
Review: https://review.openstack.org/159923

Changed in wsme:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to wsme (master)

Reviewed: https://review.openstack.org/159923
Committed: https://git.openstack.org/cgit/stackforge/wsme/commit/?id=c4d39865d4059a25dab80d1938976866a9f2fa4d
Submitter: Jenkins
Branch: master

commit c4d39865d4059a25dab80d1938976866a9f2fa4d
Author: Stéphane Bisinger <email address hidden>
Date: Fri Feb 27 17:57:56 2015 +0100

    Converts prints to logging.debug calls

    Some print calls were polluting the standard output with debugging
    information. These prints are now converted to logging.debug calls
    so that they are disabled by default.

    Closes-Bug: #1426439
    Change-Id: I42f3ca62b55a980839cc0cb481f33fea3cd22afe

Changed in wsme:
status: In Progress → Fix Committed
Changed in wsme:
milestone: none → 0.8.0
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.