class LogProtocol(LineReceiver):
	"""docstring for LogProtocol"""
	def __init__(self, factory):
		self.factory = factory
		self.logger = GetLogger()

	def lineReceived(self, data):
		logging.debug('log req rec: ' + data)
		request = data.split(';')
		response = self.logger.build_response(request)
		self.transport.write(response+'\r\n')
		logging.debug('Loging response: {resp}'.format(resp = repr(response)))
	def __init__(self, factory):
		self.factory = factory
		self.logger = GetLogger()