Another problem is that even if you only write a couple of bytes, the whole logfile must be read to memory (implies transmission over the network).
Especially with thouands of clients, it might be advisable to switch to a database approach, e.g. an MS Access/SQL Server/MySQL database. This will allow multiple users to log information at the same time and the file needs not be transferred across a network.
The second solution would be to create a new log file on a per-computer and -per-day or per-week basis supplemented by an administartive script that concacenates these logfiles for later analysis.
The third solution would be to create the log files on the local computer and copy them over to a central location via client or central admin script.
However, based on the number fo cleint I wuld implement the database and nothing else, as SQL queries will enable you to automatically generate various reports on the logs.
Appropriate database DB...() UDFs are located in the UDF Forum.
_________________________
There are two types of vessels, submarines and targets.