Send real time unix system logging to a remote db server ?
Mike Vo
Greenhorn
Joined: Jul 18, 2004
Posts: 6
posted
0
Instead of parsing local system log files, is there a way to have Java program accept Unix system logging info directly?
Thanks for your help.
Thomas Manthey
Greenhorn
Joined: Dec 16, 2004
Posts: 12
posted
0
As far as I know those syslog messages are send to port 514 of the logging server. Have a look at the API of the package java.net and try to write a program that listens on this port.
inside every large program there is a small program struggling to get out...
Mike Vo
Greenhorn
Joined: Jul 18, 2004
Posts: 6
posted
0
Thanks for help.
I wrote a server in DatagramSocket and have it listening on the port 514@localhost.
Seems like port 514 has been locked up by the syslogd. Is there a way to get around and have my serevr accept system logging?
Thomas Manthey
Greenhorn
Joined: Dec 16, 2004
Posts: 12
posted
0
Can you give more detail what you are trying to achieve? Do you want to replace syslogd completely or are you just interested in analyzing a certain kind of logged events? Maybe I could help you more if I knew...
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Send real time unix system logging to a remote db server ?