Lines Matching refs:_logger
83 self._logger = logging.getLogger("dhcp.test_server")
121 self._logger.info("DhcpTestServer started; opening sockets.")
124 self._logger.info("Opening socket on '%s' port %d." %
129 self._logger.info("Binding to %s" % self._interface)
138 self._logger.error("Socket error: %s." % str(socket_error))
139 self._logger.error(traceback.format_exc())
143 self._logger.error("Failed to open server socket. Aborting.")
188 self._logger.info("Manually aborting test.")
200 self._logger.info("DHCP server says test passed.")
202 self._logger.info("DHCP server says test failed.")
208 self._logger.error("Handling rule failed to return a packet.")
210 self._logger.debug("Sending response: %s" % packet)
213 self._logger.error("Packet failed to serialize to binary string.")
225 self._logger.error("Test in progress has timed out.")
229 self._logger.info("Server received packet of length %d." %
243 self._logger.warning("Server received an invalid packet over a "
249 self._logger.info("No handling rule for packet: %s." %
265 self._logger.error(
271 self._logger.info("Handling rule %s rejected packet %s." %
287 self._logger.error("Failed to create server socket, exiting.")
290 self._logger.info("DhcpTestServer entering handling loop.")
304 self._logger.info("DhcpTestServer closing sockets.")
306 self._logger.info("DhcpTestServer exiting.")