Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have several embedded systems that can be configured to send log data to a remote server for debugging purposes. However such is the hassle of configuring the developers machine to listen and filter this data most of the guys tend to just watch the syslog traffic with something like Wireshark. Are there any command line syslog tools that can be configured to listen to a temporary port use in these debugging scenarios? I've had a bit of a search on-line but haven't been able to turn anything up.

share|improve this question
up vote 2 down vote accepted

If you want something quick and dirty, just use netcat to listen on the syslog port. Redirecting to a file, filtering what you see, etc. can all be done with tee or shell redirection, grep, awk, etc.

sudo nc -l 514

Add the -u flag if using a UDP transport.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.