Logging, Syslog and Log Anaylsys Forums
July 30, 2010, 09:47:53 pm
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
WIKI
BLOG
Help
Search
Recent Topics
GoogleTagged
Login
Register
Logging, Syslog and Log Anaylsys Forums
>
Forums
>
Log Data and Analysis
>
Designing a log module
Pages: [
1
]
« previous
next »
Print
Author
Topic: Designing a log module (Read 1143 times)
Hari Kumar
Newbie
Offline
Posts: 2
Designing a log module
«
on:
May 07, 2009, 08:07:49 am »
Hi All,
We are planning to come up with a new log module for our product. Now we are in the design phase. Our product has lot of modules and sub modules. Each module has its own state machines(one or more).
Our requirement is like : we want to get the information about the sequence of the states in different modules and state transitions. We also want to get the log of error messages and events.
For reference, we are looking for an existing design, of an application to log the messages of different modules. The messages should be logged to syslog server / console / any other interface. The design should be generic enough.
I hope, it is clear that the design I am talking about has nothing to do with the syslog(or syslogd).
If you can throw some light on this, then we would be very much grateful to you.
Even if you do not have this information, please guide us on, where we might be able to get it.
Regards
Hari
Logged
mutex
Administrator
Newbie
Offline
Posts: 901
Re: Designing a log module
«
Reply #1 on:
May 07, 2009, 10:06:43 am »
Will the product be running on a common operating system like Windows or Linux? If so, what is it?
If you are using a unix, bsd or linux OS to host your application, then you could use a unix socket to pass the message between the various modules. You can also interface to syslogd that way, which will give you the ability to write to the console, log files or other syslog servers.
I'm not as certain how to do that under Windows.
Logged
Hari Kumar
Newbie
Offline
Posts: 2
Re: Designing a log module
«
Reply #2 on:
May 08, 2009, 06:47:57 am »
Thanks for the reply.
Our product is running on monta vista linux. As you have advised we are also planning to to use unix sockets for inter module communication. What we are looking forward is an existing design, so that we can take it as a reference while designing our application.
Logged
Pages: [
1
]
Print
GoogleTagged:
logging module design
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Forums
-----------------------------
=> Syslog & syslogd
=> syslog-ng
=> Log Data and Analysis
=> Windows Event Log
=> Web Server Logs
=> Security Event Management
=> General Discussion
===> Red Light District
Loading...