Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-09-2008, 03:50 PM   #1
Registered: Nov 2002
Location: Central VA
Distribution: Ubuntu/Debian
Posts: 228

Rep: Reputation: 32
Question Syslogd - Logging test data from a remote device

The company I work for make automated machines for fabricating eyeglass lenses. We want to use a general purpose Linux server we have to log test data from some new machines we have developed. They will be running overnight tests and we can have them spit out data out on UDP port 514 and use syslogd to grab the data.
We can successfully send/receive the data from our machine to the server. The messages are punt int /var/log/syslog, /var/log/debug, & /var/log/messages. What I need help figuring out is how to configure syslog.conf to put dump the incoming messages to their own unique files.

Anyone with any thoughts?

Old 07-09-2008, 03:55 PM   #2
Registered: May 2001
Posts: 29,359
Blog Entries: 55

Rep: Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546
Either post-process it or use a filtering syslog like Syslog-NG?
Old 07-09-2008, 07:09 PM   #3
Mr. C.
Senior Member
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
You need to know the FACILITY and PRIORITY of the messages. Syslog allows selection of output device based on the facility and priority of the syslog message. This is often configurable by application. And applications often use one of the LOCAL0-LOCAL7 facilities, so it might be an easy configuration. Can you determine which facilty/priority ?

If the facility and priority are also in use by other linux programs, you wont' be able to for your apps messages into one location, while leaving the others alone. This is a limitation in syslog.

You can use syslog-ng (or other alternatives), or trivial log processing.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Syslogd logging severity levels endfx Linux - Server 3 04-25-2007 10:28 AM
syslogd logging questsion plan9 Slackware 2 09-03-2004 04:23 PM
remote logging linuxboy69 Linux - Software 3 02-25-2004 04:30 PM
logging external messages with syslogd slawomir Linux - Networking 3 09-04-2002 04:26 AM
Remote logging sts_cat Linux - General 2 04-30-2002 08:26 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration