"Fossies" - the Fresh Open Source Software Archive

Member "monasca-log-api-2.9.0/docker/log-api-logging.conf.j2" (1 Apr 2019, 877 Bytes) of package /linux/misc/openstack/monasca-log-api-2.9.0.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 [default]
    2 disable_existing_loggers = 0
    3 
    4 [loggers]
    5 keys = root, gunicorn_access, kafka
    6 
    7 [handlers]
    8 keys = console, gunicorn_access
    9 
   10 [formatters]
   11 keys = context, gunicorn_access
   12 
   13 [logger_root]
   14 level = {{ LOG_LEVEL_ROOT }}
   15 handlers = console
   16 
   17 [logger_gunicorn_access]
   18 level = {{ LOG_LEVEL_ACCESS }}
   19 handlers = console
   20 propagate = 0
   21 qualname = gunicorn.access
   22 
   23 [logger_kafka]
   24 qualname = kafka
   25 level = DEBUG
   26 handlers = console
   27 propagate = 0
   28 
   29 [handler_console]
   30 class = logging.StreamHandler
   31 args = (sys.stdout,)
   32 level = {{ LOG_LEVEL_CONSOLE }}
   33 formatter = context
   34 
   35 [handler_gunicorn_access]
   36 class = logging.StreamHandler
   37 args = (sys.stdout,)
   38 level = {{ LOG_LEVEL_ACCESS }}
   39 formatter = gunicorn_access
   40 
   41 [formatter_context]
   42 class = oslo_log.formatters.ContextFormatter
   43 
   44 [formatter_gunicorn_access]
   45 class = logging.Formatter
   46 format = {{ ACCESS_LOG_FORMAT }}
   47 datefmt = %Y-%m-%d %H:%M:%S