Go to file
Kevin Benton 6a36cffd9f Reduce READ_FREQ and TIMEOUT for watch-file
The watch-file option currently relies on pyinotify which makes
use of select.poll. This is eventlet incompatible so it blocks
the whole thread for TIMEOUT milliseconds every READ_FREQ seconds.

This meant that an agent/service using this option is blocked for
500 milliseconds every 1 second.

Until a non-blocking alternative can be found, this adjusts the
READ_FREQ and TIMEOUT params on the FastWatchedFileHandler to
3 and 5 respectively. So every 3 seconds, it will block for 5
milliseconds so only 0.16% of time is lost instead of 50%.

Change-Id: I6fdc0a3f1eaae39eb86440c6c4b07ca8d91f2462
Partial-Bug: #1583270
2016-05-13 02:05:31 -07:00
2016-05-05 09:30:17 +08:00
2016-04-08 00:32:05 +00:00
2015-09-22 20:35:42 +00:00

oslo.log -- Oslo Logging Library

Latest Version

Downloads

The oslo.log (logging) configuration library provides standardized configuration for all openstack projects. It also provides custom formatters, handlers and support for context specific logging (like resource id's etc).

Description
RETIRED, further work has moved to Debian project infrastructure
Readme 1 MiB