Use Twisted's logging facilities.
This commit is contained in:
parent
f9f24f6616
commit
b47d0d2b07
3 changed files with 9 additions and 6 deletions
|
|
@ -4,6 +4,7 @@ import sys
|
|||
|
||||
from twisted.application import internet, service
|
||||
from twisted.internet import protocol, reactor, defer
|
||||
from twisted.python import log
|
||||
|
||||
from django.db import models
|
||||
from django.db import connection
|
||||
|
|
@ -120,4 +121,4 @@ mud_service = EvenniaService('Evennia Server')
|
|||
|
||||
# Sheet sheet, fire ze missiles!
|
||||
serviceCollection = service.IServiceCollection(application)
|
||||
internet.TCPServer(4000, mud_service.getEvenniaServiceFactory()).setServiceParent(serviceCollection)
|
||||
internet.TCPServer(4000, mud_service.getEvenniaServiceFactory()).setServiceParent(serviceCollection)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue