Use warning instead of warn for logging (fix #170)
This commit is contained in:
parent
c5f19bb05b
commit
6854cd0ee3
@ -90,7 +90,7 @@ class HTTPSServer(HTTPServer):
|
|||||||
try:
|
try:
|
||||||
open(filename, "r").close()
|
open(filename, "r").close()
|
||||||
except IOError as exception:
|
except IOError as exception:
|
||||||
log.LOGGER.warn(
|
log.LOGGER.warning(
|
||||||
"Error while reading SSL %s %r: %s" % (
|
"Error while reading SSL %s %r: %s" % (
|
||||||
name, filename, exception))
|
name, filename, exception))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user