app debug log did not output to log file when debug=True

Bug #1668558 reported by Liping Mao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuxi
Fix Released
Undecided
hongbin
kuryr-libnetwork
Fix Released
Undecided
Liping Mao

Bug Description

We can't see debug log(the debug log is produced by app.logger.debug(...) ) when debug=True in kuryr config file.

Looks like the flask debug log will output to log when app.debug=True.
http://flask.pocoo.org/docs/0.12/quickstart/

I think we can use oslo_log to instead of flask logger.

Liping Mao (limao)
Changed in kuryr-libnetwork:
assignee: nobody → Liping Mao (limao)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kuryr-libnetwork (master)

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

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

Reviewed: https://review.openstack.org/441545
Committed: https://git.openstack.org/cgit/openstack/kuryr-libnetwork/commit/?id=68789ceb2b910a505fc60ee52563b1cbd6d14920
Submitter: Jenkins
Branch: master

commit 68789ceb2b910a505fc60ee52563b1cbd6d14920
Author: Liping Mao (limao) <email address hidden>
Date: Sat Mar 4 11:09:30 2017 +0800

    Use oslo_log to instead of app.logger

    Change-Id: Ic1caa35e76acaae701855c5eda66e407e9ef6343
    Closes-bug: #1668558

Changed in kuryr-libnetwork:
status: In Progress → Fix Released
hongbin (hongbin034)
Changed in fuxi:
assignee: nobody → hongbin (hongbin034)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuxi (master)

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

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

Reviewed: https://review.openstack.org/447305
Committed: https://git.openstack.org/cgit/openstack/fuxi/commit/?id=8bc3dbecfb8799a0f60e3d764d0d2b79dc1141e2
Submitter: Jenkins
Branch: master

commit 8bc3dbecfb8799a0f60e3d764d0d2b79dc1141e2
Author: Hongbin Lu <email address hidden>
Date: Sun Mar 19 11:45:49 2017 -0500

    Use oslo_log to instead of app.logger

    Change-Id: I7228402a86111925389396039a5ba444170a83ca
    Closes-Bug: #1668558

Changed in fuxi:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuxi 0.2.0

This issue was fixed in the openstack/fuxi 0.2.0 release.

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.