Hi, Noticed that 1.20rc? has changed the time format in the debug log. i.e. we are seeing a human friendly time format including timezone which is not really what is expected in logs:
Thu, 23 Oct 2003 10:51:33 +0100:34166: --output of uvscan was: However, I note that this is inconsistent as we are also getting some timestamps in the proper format e.g. 23/10/2003 10:51:33:34166: error_condition: X-Qmail-Scanner-1.20rc4: corrupt or unknown MacAfee scanner error or memory/resource/perms problem - exit status 102 I see the error_condition sub is creating the time in the expected format with: $nowtime = sprintf "%02d/%02d/%02d %02d:%02d:%02d", $mday, $mon+1, $year+1900, $hour, $min, $sec; Whereas the usual $nowtime is: #my $nowtime = sprintf "%02d/%02d/%02d %02d:%02d:%02d", $mday, $mon+1, $year+1900, $hour, $min, $sec; my $nowtime = strftime("%a, %d %b %Y %H:%M:%S %z", localtime(time)); Why is the expected format commented out for the less useful format for a log file? Cheers. -- Mark Powell - UNIX System Administrator - The University of Salford Information Services Division, Clifford Whitworth Building, Salford University, Manchester, M5 4WT, UK. Tel: +44 161 295 4837 Fax: +44 161 295 5888 www.pgp.com for PGP key ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general