Proxy Server Logging Fix: Msplog.dll Changed to Record 4 Digit YearID: Q228540
|
By Default, Microsoft Proxy Server 2.0 logs the year in two-digit format.
This is by design and does not affect the year 2000 compliance of Microsoft Proxy Server 2.0
A supported fix that corrects this problem is now available from Microsoft, but
it has not been fully regression tested and should be applied only to systems
experiencing this specific problem.
To resolve this problem, contact Microsoft Product Support Services to obtain the
fix. For a complete list of Microsoft Product Support Services phone numbers and
information on support costs, please go to the following address on the World Wide Web:
http://www.microsoft.com/support/supportnet/overview/overview.aspThe English version of this fix should have the following file attributes or later:
File name Msplog.dll
Q154871 Determining If You Are Eligible for No-Charge Technical Support
Microsoft has confirmed this to be a problem in Microsoft Proxy Server 2.0.
This fix was created to optionally allow Proxy Server to log four-digit years. To obtain this fix, contact Microsoft Product Support and reference this Knowledge Base Article.
Msplog.dll has been fixed to read a format string from the registry to be used by the date format API (GetDateFormat). Both the format string and the date field string are limited to 15 characters. Using a format string that is longer than 15 characters will cause the logger to use the current format (M/D/YY).
If the date string returned by Windows NT is greater than 15 characters, the entire log entry containing this date string will be thrown out and not logged to the file. In addition to the hotfix, the following registry entry must be changed:
WARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys and
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
If you are running Windows NT, you should also update your Emergency
Repair Disk (ERD).
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ W3Proxy\Parameters\NOTE: The above registry key is one path; it has been wrapped for readability.
Value Name: LogFileDateFormat
Data Type: REG_SZ
Value: Date format String (See below for samples.)
dddd/MMMM/yyyy = Thursday/March/1999NOTES:
d/MMMM/yyyy = 4/March/1999
d/M/yyyy = 4/3/1999
MMMM/d/yyyy = March/4/1999
http://www.microsoft.com/year2000/
Additional query words:
Keywords :
Version : winnt:2.0
Platform : winnt
Issue type : kbbug
Last Reviewed: July 2, 1999