Open jelly opened 2 weeks ago
Description of problem:
logging.warn is used in the Glusterfs Python code, this function has been deprecated since Python 3.3 and is an alias to logging.warning.
logging.warn
The exact command to reproduce the issue:
Run the syncdaemon scripts.
The full output of the command that failed:
None
Expected results:
No deprecation warning
Additional info:
https://docs.python.org/3.12/library/logging.html#logging.Logger.warning https://docs.python.org/3.13/whatsnew/3.13.html#logging
Description of problem:
logging.warn
is used in the Glusterfs Python code, this function has been deprecated since Python 3.3 and is an alias to logging.warning.The exact command to reproduce the issue:
Run the syncdaemon scripts.
The full output of the command that failed:
None
Expected results:
No deprecation warning
Additional info:
https://docs.python.org/3.12/library/logging.html#logging.Logger.warning https://docs.python.org/3.13/whatsnew/3.13.html#logging