Commit 0282b503 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

Initialize logging

parent f33a758b
from twisted.internet import reactor
from twisted.internet.endpoints import TCP6ServerEndpoint
import logging
from client import ClientFactory
from plugin import Plugins
import count_plugin
import buckets_plugin
logging.basicConfig(level=logging.DEBUG, format='%(name)s@%(module)s:%(lineno)s\t%(asctime)s\t%(levelname)s\t%(message)s')
plugins = Plugins()
# Some configuration, to load the port from?
endpoint = TCP6ServerEndpoint(reactor, 5678)
endpoint.listen(ClientFactory(plugins))'Init done')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment