> Hey!
Hey back!
>
> Given more than 100 computers collecting test lab data. Each has a
> directory named C shared-out to the network, where log files are written
> out to flat files. Another computer collects all of the data from each
> of the lab computers and stores it in a database. A servlet provides
> access to the data to the Web browser. The log files are not sent to
> the database computer, but reside on the test lab computers.
>
> Does it make sense to do this:
> Install a TFTP server on each of the test lab computers.
> Instantiate a URL connection.
> Get the log file.
>
> The servlet code to get the log files like this:
<snip>
A few years ago I had to do something very similar.
Since all the computers were Sun Sparcs running SunOS,
my solution was to have each client use "syslog" to log
each event (via UDP) to a server (logging) host.
This worked very well -- syslog has fairly low overhead for the
clients, and all file management was centralized on one server.
We saw from 10-50 80-byte log events per second, or about
100-300 Meg per day. Writing to a local disk, the log host,
a Sparc 20, could easily keep up (Note: UDP is a connectionless
protocol, so there may have been some lost messages, but we
probably lost fewer than 1 message in ten-thousand)
But, it sounds as if you are in a Microsoft environment, so
you might have to look a bit to find syslog for MS, and
for the server, you'll need syslogd.
Finally, to try and keep up a servlet thread, does anyone
know if a syslog client or server is available in Java?
I admit to not having looked carefully at the servlet log() method,
so any enlightenment would be appreciated
--wade
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html