Deprecate watch_log_file

This feature has been broken for some time without any actual update
to fix it. Also the pyinotify package used hasn't been updated for 9
years and looks badly unmaintained.

Related-Bug: #1740111
Related-Bug: #2059855
Change-Id: If776fee0072d95737e1c19ad673a3c881a89de06
This commit is contained in:
Takashi Kajinami 2024-03-31 00:54:59 +09:00
parent a1fe1b9cfb
commit 31603ac6da
2 changed files with 9 additions and 0 deletions

View File

@ -74,6 +74,10 @@ logging_cli_opts = [
+ _IGNORE_MESSAGE),
cfg.BoolOpt('watch-log-file',
default=False,
deprecated_for_removal=True,
deprecated_reason=('This function is known to have bene '
'broken for long time, and depends on '
'the unmaintained library'),
help='Uses logging handler designed to watch file '
'system. When log file is moved or removed this handler '
'will open a new log file with specified path '

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
The ``watch_log_file`` option has been deprecated and will be removed in
a future release.