Add debug logs to view negotiations
This commit is contained in:
parent
04230eb152
commit
6b97d6c545
1 changed files with 8 additions and 0 deletions
|
|
@ -1,8 +1,16 @@
|
|||
"""Main entry point for running the MUD server."""
|
||||
|
||||
import asyncio
|
||||
import logging
|
||||
import sys
|
||||
|
||||
from mudlib.server import run_server
|
||||
|
||||
if __name__ == "__main__":
|
||||
level = logging.DEBUG if "--debug" in sys.argv else logging.INFO
|
||||
logging.basicConfig(
|
||||
level=level,
|
||||
format="%(asctime)s.%(msecs)03d %(name)s %(message)s",
|
||||
datefmt="%H:%M:%S",
|
||||
)
|
||||
asyncio.run(run_server())
|
||||
|
|
|
|||
Loading…
Reference in a new issue