Commit Graph

3 Commits

Author SHA1 Message Date
Adrian Czarnecki 1e3e1173ad Update devstack plugin to support new api
Merge log-api and api

Story: 2003881
Task: 36195

Depends-On: https://review.opendev.org/681419/
Change-Id: Idb2361e5ab701cd3dee4eabb4b43116f6e1205c4
2019-12-04 13:52:57 +01:00
Tomasz Trębski 044f389848 Integration with oslo.context
Similar to other openstack projects,
monasca-api should provide information
about request's context in the log information.

This is done by:
* implementing custom Request that creates context (oslo.context)
* changing logging configuration to use ContextLogFormatter

Since information like tenant-id can be
retrieved from the context, modified resource code to use
that.

Also moved 'limit' directly to request property.

Change-Id: I917fa2cba99dc668842fea0a62cda2cabd796d09
2017-01-09 05:35:58 +00:00
Jakub Wachowski 441a65dff8 Proposition for separate config for loggers.
Sometimes we want that kafka for example should log in debug level,
sql in info level and rest code in warn.

Change-Id: Iac7f29b3909354f75e5d3264ef2c987c9f3e2aec
2016-10-12 05:32:24 +00:00