← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1500222] [NEW] Request info in logs

 

Public bug reported:


The oslo.log standard format for log messages includes a bunch of info about the request, the user tenant domain user_domain and project_domain

These are included in nova logs.

For keystone, these aren't included in the log for the request and they
should be when available to make it easier for admins to debug issues.

From
http://git.openstack.org/cgit/openstack/oslo.context/tree/oslo_context/context.py?id=f8285a1f3499a308d3e3f98645ddd56a41e593f8#n75
:

    self.user_idt_format.format(user=self.user or '-',
                                        tenant=self.tenant or '-',
                                        domain=self.domain or '-',
                                        user_domain=self.user_domain or '-',
                                        p_domain=self.project_domain or '-'))

** Affects: keystone
     Importance: Undecided
     Assignee: Brant Knudson (blk-u)
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1500222

Title:
  Request info in logs

Status in Keystone:
  New

Bug description:
  
  The oslo.log standard format for log messages includes a bunch of info about the request, the user tenant domain user_domain and project_domain

  These are included in nova logs.

  For keystone, these aren't included in the log for the request and
  they should be when available to make it easier for admins to debug
  issues.

  From
  http://git.openstack.org/cgit/openstack/oslo.context/tree/oslo_context/context.py?id=f8285a1f3499a308d3e3f98645ddd56a41e593f8#n75
  :

      self.user_idt_format.format(user=self.user or '-',
                                          tenant=self.tenant or '-',
                                          domain=self.domain or '-',
                                          user_domain=self.user_domain or '-',
                                          p_domain=self.project_domain or '-'))

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


Follow ups