Capitalise DB logger name
This commit is contained in:
parent
15d3a23351
commit
f9d227831b
|
@ -5,7 +5,7 @@ from redis import StrictRedis
|
||||||
from settings import settings
|
from settings import settings
|
||||||
import util
|
import util
|
||||||
|
|
||||||
log = util.get_logger("db")
|
log = util.get_logger("DB")
|
||||||
|
|
||||||
# Define the Redis endpoint to the socket
|
# Define the Redis endpoint to the socket
|
||||||
r = StrictRedis(unix_socket_path=settings.DB.RedisSocket, db=int(settings.DB.DB))
|
r = StrictRedis(unix_socket_path=settings.DB.RedisSocket, db=int(settings.DB.DB))
|
||||||
|
|
Loading…
Reference in New Issue