First published on MSDN on Aug 15, 2018
I recently ran into an issue after upgrading a MIM Environment to MIM 2016 SP1 (version 4.4.1459.0 or greater) where the MIM portal trace log files would grow until all available disk space was consumed. Below is the root cause of the issue and the method I used to resolve it.
Temporary Fix to Restore Service:
In the event you experience this issue and need a quick fix to restore service to your MIM environment, the trace log files Microsoft.ResourceManagement.Service_tracelog00.svclog and Microsoft.ResourceManagement.Service_tracelog00.txt can be copied to another location or deleted to reclaim storage space. Please refer to your firm’s policies and guidelines on log file retention before moving or deleting these files.
MIM SP1 implemented verbose logging to the trace logs located in the Program FilesMicrosoft Forefront Identity Manager2010Service container to improve visibility and logging of portal workflow activities. These trace log files are stored in the following files:
Microsoft.ResourceManagement.Service_tracelog00.svclog and Microsoft.ResourceManagement.Service_tracelog00.txt)
Additional details of this can be found at the following link: https://docs.microsoft.com/en-us/microsoft-identity-manager/infrastructure/mim-service-dynamic-…
Trace Log file growth can be managed by upgrading to MIM version 22.214.171.124 which implements circular logging of the Trace Log files. The following link provides additional details on sizing the storage and setting the max file size for each of the log files:
MIM 126.96.36.199 Upgrade Procedure:
1. Please read the release notes carefully before upgrading your environment… https://support.microsoft.com/en-us/help/4073679/hotfix-rollup-package-build-4-5-26-0-is-availa…
2. Applying a Release Update to the MIM Synchronization Service and Offline Spare
3. Apply Prerequisites to MIM Portal Servers
Install 2013 x64 Visual C++ Redistributable Packages (vcresist_x64.exe)
4. Install .Net 4.6
5. Clean Up Trace Log Files
The trace log files Microsoft.ResourceManagement.Service_tracelog00.svclog and Microsoft.ResourceManagement.Service_tracelog00.txt can be copied copying to another location or deleted to reclaim storage space. Please refer to your firm’s policies and guidelines on log file retention before deleting these files.
6. Applying a Release Update to the MIM Service and Portal