Share via


Event ID 667 — Federation Service Proxy Logging

Applies To: Windows Server 2008

You can use Active Directory Federation Services (AD FS) log files to troubleshoot issues with the federation server proxy. The creation and updating of AD FS log files are monitored here.

Event Details

Product: Windows Operating System
ID: 667
Source: Microsoft-Windows-ADFS
Version: 6.0
Symbolic Name: LogFileCannotCleanupOldFiles
Message: The AD FS troubleshooting log is using more than the maximum allowed number of files, but it is not able to delete the oldest files.
Directory: %2
Files used: %3
Maximum files: %4

Log files will continue to be written, but they will exceed the maximum number of files. This event will recur every %1 minutes until the condition is corrected.
Retry period: %1

User Action
Check the permissions on the log file directory. If the directory permissions are correct, determine whether the failing file is opened by another program or whether file-specific permissions are preventing its deletion.

Additional Data
This error occurred as a result of a failed deletion operation on a specific file.
File to be deleted: %5
File deletion error: %6

Resolve

Check the directory permissions and the failing file

This error occurred as a result of a failed deletion operation on a specific file. Check the permissions on the log file directory. If the directory permissions are correct, determine whether the failing file has been opened by another program or file-specific permissions are preventing its deletion.

Verify

Verify that Active Directory Federation Services (AD FS) log files have been generated in the log files directory.

To perform this procedure, you must be a member of the local Administrators group, or you must have been delegated the appropriate authority.

To locate the log files directory

  1. On the federation server, click Start, point to Administrative Tools, and then click Active Directory Federation Services.
  2. In the console tree, right-click Federation Service and then click Properties.
  3. On the Troubleshooting tab, check the location of the log files under Log files directory.

Federation Service Proxy Logging

Active Directory Federation Services