Update git submodules
* Update openstack-helm from branch 'master'
- Merge "Explicitly set datefmt for logging"
- Explicitly set datefmt for logging
the defaults in Python [0] and oslo.log [1] are such that when using
separate config file for logging configuration (log-config-append)
the log fomat of dates containes miliseconds twice (as in sec,ms.ms)
which is exactly what is currently seen in logs of OpenStack services
deployed by openstack-helm.
When not provided with datefmt log formatter option, Python effectively
uses '%Y-%m-%d %H:%M:%S,%f' [0] as a default time formatting string to
render `%(asctime)s`, but the defaults in oslo.log add another `.%f`
to it [1].
Since `log-date-format` oslo.log option has no effect when using
log-config-append, we need to explicitly set date format to avoid double
miliseconds rendering in date of log entries.
[0] 6ee41793d2/Lib/logging/__init__.py (L427-L428)
[1] http://git.openstack.org/cgit/openstack/oslo.log/tree/oslo_log/_options.py?id=7c5f8362b26313217b6c248e77be3dc8e2ef74a5#n148
Change-Id: I47aa7ce96770d94b905b56d6fe4abad428f01047
This commit is contained in:
parent
2e7233a410
commit
5929934bfe
|
@ -1 +1 @@
|
|||
Subproject commit 62c937c6d0bb7352e71faa06c75a75415b44d6e6
|
||||
Subproject commit 66ba0be81c66c20b5ffae709358970d5937a0202
|
Loading…
Reference in New Issue