Results 1 to 6 of 6
I need a Java program code to show the errors from the log files of a Linux system, possibly with a GUI. Is there a good Samaritan here to help ...
- 03-18-2010 #1
Please help me
I need a Java program code to show the errors from the log files of a Linux system, possibly with a GUI. Is there a good Samaritan here to help me?
- 03-18-2010 #2
I hate saying this because its not what you asked for but: Does it have to be Java?
You could easily do this with Apache and PHP (lots of freely available php out there to do this) then you get the same cross platform viewing capabilities and itll probs be faster and less resource heavy too
- 03-18-2010 #3
I second that.
Is there any hard dependency on java?
Right now, I use rsyslog on all my servers,
with the central logging host using it as well, of ourse.
The logs are stored locally,
and additionally in a mysql on the central loghost.
The mysql will prune logs after a certain age.
For looking at and searching through logs, there is phpLogCon :: a syslog data viewer for the web
Right now, I am looking into https://labs.omniti.com/trac/reconnoiter.
Looks cute, but havent tested it.
Yet
Last edited by Irithori; 03-18-2010 at 11:27 AM.
You must always face the curtain with a bow.
- 03-18-2010 #4
is too simple in PHP...i'm student and i have some crazy teachers how want just in Java this program...yeah..bulshtit:P
- 03-18-2010 #5
Is this for a school assignment?
Unfortunately, posting homework questions is against Forum Rules.Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 03-18-2010 #6
Although jayd512 is right, maybe some rough pointers.
The topic is linux and logging.
So we are talking about syslog. That is the standard.
The usual syslog-daemon will get you started, but for sophisticated features look at rsyslog-daemon.
Afaik, rsyslog is a one man show, but the guy is *very* active.
syslog and java:
Probably Syslog4j: Complete Syslog Implementation for Java is worth a look.
Have fun
You must always face the curtain with a bow.


Reply With Quote