oslo.log/releasenotes/notes/deprecate-watch-log-file-ba9524ae872e7c01.yaml
Takashi Kajinami b977cb9bec Remove implementation for watch_log_file
... and raise an exception when the feature is explicitly requested.

The feature has been broken for some time, and depends on pyinotify
library which has been unmaintained for long time and is not compatible
with python 3.12 (because it uses asyncore).

Related-Bug: #1740111
Closes-Bug: #2059855
Change-Id: I209b1260ed4de64cbfc561a1da81a66f7a5ea397
2024-04-19 12:36:43 +00:00

12 lines
355 B
YAML

---
deprecations:
- |
The ``watch_log_file`` option has been deprecated and will be removed in
a future release.
upgrade:
- |
Setting ``[DEFAULT] watch_log_file = True`` now raises RuntimeError while
configuring logger. The feature has been broken for multiple cycles and
depends on pyinotify library which is not maintained now.