LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-09-2008, 03:50 PM   #1
cmfarley19
Member
 
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?

Chris
 
Old 07-09-2008, 03:55 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,944
Blog Entries: 54

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
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: 59
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.
 
  


Reply


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


All times are GMT -5. The time now is 02:29 PM.

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