Use better logging
This commit is contained in:
parent
d06178ab02
commit
9c15ed9cd0
1 changed files with 5 additions and 4 deletions
|
|
@ -2,16 +2,17 @@ import asyncio
|
||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
|
|
||||||
# Turn all debugging on
|
|
||||||
asyncio.get_event_loop().set_debug(True)
|
|
||||||
logging.basicConfig(level=logging.DEBUG)
|
|
||||||
|
|
||||||
import yaboli
|
import yaboli
|
||||||
from yaboli.utils import *
|
from yaboli.utils import *
|
||||||
from join_rooms import join_rooms # List of rooms kept in separate file, which is .gitignore'd
|
from join_rooms import join_rooms # List of rooms kept in separate file, which is .gitignore'd
|
||||||
|
|
||||||
import database
|
import database
|
||||||
|
|
||||||
|
# Turn all debugging on
|
||||||
|
asyncio.get_event_loop().set_debug(True)
|
||||||
|
logging.getLogger("asyncio").setLevel(logging.INFO)
|
||||||
|
logging.getLogger("yaboli").setLevel(logging.DEBUG)
|
||||||
|
|
||||||
|
|
||||||
class PointDB(database.Database):
|
class PointDB(database.Database):
|
||||||
@database.Database.operation
|
@database.Database.operation
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue