Reading server logs remotely using an applet
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Desi_Munda
Posted On:   Friday, January 31, 2003 10:42 AM

Hi
I am trying to solve a problem that needs me to display server logs to client developer using an applet.

I've written a logserver that reads the logfile and spits the output to the socket where my applet is connected to reading for new data.

The problem I am facing is I don't know how to tell the logserver that there is new stuff in the logfile that needs to be read and send to the socket so that Applet can read it and display it.

Can I register some kind of listner to this log file and set up a callback that then reads this file.

Thanks
Desi

Re: Reading server logs remotely using an applet

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, January 31, 2003 01:23 PM

Maybe you should look into using syslog() instead, because that is what it is for... have the syslog facility you want sent to your remote application, in addition to the log file on the server.

About | Sitemap | Contact