Debug logs do not appear in devstack by default

Bug #1645492 reported by Zane Bitter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Fix Released
Undecided
wangxiyuan

Bug Description

Using the devstack plugin, the only log messages shown from the console are the incoming HTTP requests. None of the oslo_logging logs (LOG.debug, LOG.info, LOG.warning, LOG.error, &c.) are visible.

It's not clear to me how you enable them - various messing with the config file didn't help.

The logs don't show up in /var/log/messages or in /var/log/zaqar/* either. I wasn't able to find them anywhere.

devstack local.conf:

enable_plugin zaqar git://git.openstack.org/openstack/zaqar stable/newton

(but I suspect it's the same on master)

Revision history for this message
wangxiyuan (wangxiyuan) wrote :

yes, it doesn't work with uwsgi.

Changed in zaqar:
status: New → Confirmed
wangxiyuan (wangxiyuan)
Changed in zaqar:
assignee: nobody → wangxiyuan (wangxiyuan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zaqar (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zaqar (master)

Reviewed: https://review.openstack.org/420308
Committed: https://git.openstack.org/cgit/openstack/zaqar/commit/?id=dfaa49b31e8abd10456761110d0cadc1b7c7640d
Submitter: Jenkins
Branch: master

commit dfaa49b31e8abd10456761110d0cadc1b7c7640d
Author: wangxiyuan <email address hidden>
Date: Sat Jan 14 15:33:59 2017 +0800

    Make the log work when deploy Zaqar with uwsgi

    The zaqar-wsgi runs under uwsgi by devstack can't
    print any WARNING, DEBUG, ERROR or INFO log now.

    This path add the log initialization for uwsgi boot.

    Change-Id: Ifcd6be908442275d2acbde2562e593b2ca87b277
    Cloese-bug: #1645492

wangxiyuan (wangxiyuan)
Changed in zaqar:
status: Confirmed → 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.