Lines Matching refs:_logger
89 self._logger = logging.getLogger("dhcp.test_server")
127 self._logger.info("DhcpTestServer started; opening sockets.")
130 self._logger.info("Opening socket on '%s' port %d." %
135 self._logger.info("Binding to %s" % self._interface)
144 self._logger.error("Socket error: %s." % str(socket_error))
145 self._logger.error(traceback.format_exc())
149 self._logger.error("Failed to open server socket. Aborting.")
194 self._logger.info("Manually aborting test.")
206 self._logger.info("DHCP server says test passed.")
208 self._logger.info("DHCP server says test failed.")
214 self._logger.error("Handling rule failed to return a packet.")
216 self._logger.debug("Sending response: %s" % packet)
219 self._logger.error("Packet failed to serialize to binary string.")
231 self._logger.error("Test in progress has timed out.")
235 self._logger.info("Server received packet of length %d." %
249 self._logger.warning("Server received an invalid packet over a "
255 self._logger.info("No handling rule for packet: %s." %
271 self._logger.error(
277 self._logger.info("Handling rule %s rejected packet %s." %
293 self._logger.error("Failed to create server socket, exiting.")
296 self._logger.info("DhcpTestServer entering handling loop.")
310 self._logger.info("DhcpTestServer closing sockets.")
312 self._logger.info("DhcpTestServer exiting.")