thesharp / daemonize

daemonize is a library for writing system daemons in Python.
MIT License
445 stars 64 forks source link

Calls to self.log.warn() should be self.log.warning() #61

Closed televi closed 6 years ago

televi commented 7 years ago

The log.warn() function is deprecated formally in 3.3 (and was tacitly deprecated prior to that by simply not being documented - see http://bugs.python.org/issue13235). It would be great if Daemonize used log.warning() instead of log.warn() - I only saw calls to self.log.warn() in 3 places - sigterm(), exit(), and almost at the end of start().

z3ntu commented 6 years ago

Fixed by #66