As time goes on, the server log and transfer log files can
get rather large and consume precious memory space on TINI.
With the advent of recent Internet worms like Code Red and
Nimda, this is increasingly problematic . To alleviate this
problem, TiniHttpServer will truncate a log file once its
size reaches a certain limit. The default limit is 10,000
bytes. This value can be changed by specifying a different
value for the server.maxLogSize
server property in the
/etc/server.props
file.
Truncating the log files throws away valuable information
about web traffic to your TiniHttpServer. To avoid this loss
of data, TiniHttpServer can be configured to email a log file
to a specified email address before it gets truncated. To
enable this functionality, you need to edit the
/etc/server.props
file. The following two server properties need to be
specified:
server.mail.to
must be
set to the email address to which the logs files will be
mailed.
server.mail.from
should
be set to a meaningful and descriptive return address.
Note that since your TINI probably lacks an SMTP server,
you might want to set this address to your own. If you do
not set this property, the SMTP mailhost (established
with the Slush ipconfig -h xx.xx.xx.xx
command) may provide a default value that may not be
suitable.
You must also use the Slush ipconfig -h
xx.xx.xx.xx
command to setup the SMTP host
through which email is sent.
Copyright © 1999-2002 Smart Software Consulting