File: context-logger-06b475357bebadc7.yaml

package info (click to toggle)
python-oslo.privsep 3.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 472 kB
  • sloc: python: 1,517; makefile: 28; sh: 12
file content (15 lines) | stat: -rw-r--r-- 592 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
features:
  - |
    ``PrivContext`` accepts a new string parameter called ``logger_name`` to
    define the logger we want to use for the daemon logs of this context.

    By default all contexts use ``oslo_privsep.daemon``, but in some cases we
    may need finer grained log levels, for example nova running in debug mode
    could log its own privsep calls on INFO level regardless, but leave all
    libraries' privsep calls, such as os-brick's, to be logged in the normal
    DEBUG level.

    See `bug 1922052`_.

    .. _`bug 1922052`: https://bugs.launchpad.net/nova/+bug/1922052