cmanaha / python-elasticsearch-logger

Python Elasticsearch handler for the standard python logging framework
Other
232 stars 116 forks source link

threading.Thread.setDaemon has been deprecated in favor of setting daemon attribute directly in Python 3.10 #86

Open tirkarthi opened 3 years ago

tirkarthi commented 3 years ago

Timer inherits from threading.Thread . Ref : python/cpython#25174

https://github.com/cmanaha/python-elasticsearch-logger/blob/27ee809b4eba309d198a8909d9c559754e257197/cmreslogging/handlers.py#L208

/root/checked_repos/python-elasticsearch-logger/cmreslogging/handlers.py:208: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
  self._timer.setDaemon(True)