BrianTX, The WriteLog() UDFs were designed to write a log file locally on the client for troubleshooting purposes or other local support follow-up.

When collecting data on thousands of clients as I do in my script, I avoid file contention issues by having the client write a small file based on the computer's name to a central server. I then have a Perl program collect and parse the files for reporting.
code:
$outfile="\\ambdc009\log$\virus\$ComputerName.txt"

$str = "[Local]" + @CRLF +
"LogonDomain=" + $Ldomain + @CRLF +
"User=" + $UserID + @CRLF +
"IP=" + $IP0 + @CRLF +
"Product=" + $ProductName + @CRLF +
"Version=" + $NAIver + @CRLF +
"Domain=" + $Domain + @CRLF +
"System=" + $System
WriteLog2($outfile, $str)



[ 01 May 2002, 19:15: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/