Skip to content

windelbouwman/udplogviewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a small utility that receives log messages sent over udp via the udp handler which is built into the python standard library.

The utility listens to udp port 9021. To test the utility, run the example_client.py file. To run the logger, run the udplogreceiver script.

Installation

You can install the logviewer via pip:

$ pip install udplogviewer

Usage

The package includes one script, the log viewer. To hook a client script, add the udp handler (built in python module) to your logging system:

logger = logging.getLogger()
logger.setLevel(logging.DEBUG)
udp_handler = logging.handlers.DatagramHandler('localhost', 9021)
udp_handler.setLevel(logging.DEBUG)
logger.addHandler(udp_handler)

Dependencies

  • python3
  • PyQt4 or PyQt5 Qt bindings

Screenshot

image

Status

image

image

About

Logviewer which receives messages over udp

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages