← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1681507] Re: horizon log message does not include logging level by default

 

Reviewed:  https://review.openstack.org/455390
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=51dcc33b164f9f103b43371c588464654d946041
Submitter: Jenkins
Branch:    master

commit 51dcc33b164f9f103b43371c588464654d946041
Author: Akihiro Motoki <amotoki@xxxxxxxxx>
Date:   Mon Apr 10 16:52:55 2017 +0000

    Include logging level to log message by default
    
    Currently logging level is not included in the default configuration.
    Even though it can be customized, it would be nice and helpful
    if the default logging configuration includes it.
    
    Apache2 mod_wsgi outputs timestamp when logging messages,
    so I do not include %(asctime)s in the proposed format and
    removes it from the operation log format.
    If WSGI framework you use does not output timestamp you can add it
    to the formats and it is mentioned as the inline comment.
    
    Closes-Bug: #1681507
    Change-Id: Id0efdd00712ac71ef1739364e441918d4648d88c


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1681507

Title:
  horizon log message does not include logging level by default

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  In the default openstack_dashboard logging configuration, logging
  level is not included. It is useful if logging level is included in
  log message by default.

  Note that we can add logging level to log message by customizing
  django logging config.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1681507/+subscriptions


References