Microsoft Teams and Skype for Business News and Thoughts

Tom Arbuthnot MVP
Tom Arbuthnot MCSM Communications

This site uses cookies

Find this blog useful? Please take a second to share, thanks!

Check Your Lync Server Windows Fabric Log Size with PowerShell

Published 08/10/2014 - 4 Comments

I’ve been sitting on this one for quite a while, but someone at the recent PowerShell Summit kindly reminded me to get it published.

Lync 2013 Servers generate Windows Fabric logs, Flinchbot has already done a great write up.

These don’t appear to be causing a lot of issues, but it is something you might want to check on, as they could potentially fill your hard drive.

I haven’t seen any official guidance, but as Flinchbot points out, you can set the logging to circular (Admin CMD prompt):

Logman update trace FabricLeaseLayerTraces -f bincirc –cnf

Note, there are two hyphens before cnf, but for some reason wordpress doesn’t show them correctly

I’ve written a little script that, when run from a Lync Server, gathers all the Lync Front End servers, checks for a Windows Fabric log path, and measures the size of the logs directory.

Here is an example of the output:

SNAGHTML68a41ae

You can grab the latest version of the script on my github.

Download Script here

I am interested to hear what sizes others find.

Tom

Tom Arbuthnot

Tom Arbuthnot

Principal Solutions Architect at Modality Systems
Tom Arbuthnot is Principal Solutions Architect at Unified Communications specialist Modality Systems. He is a Microsoft Certified Master and MVP, blogger, regular on The UC Architects Podcast, and speaker at events including Microsoft TechEd and Ignite. He co-runs The Microsoft UC User Group London.

4 comments

Amanda Debler - 09/10/2014 Reply

16.7 GB, and it was only that small because there was no more space on that drive, which was how this whole thing came to my attention and I found Flinchbot’s post. After a month of shifting them to another drive each night: 56 GB.

I win!

In case you want to keep them so that you can go back and hand one to MS Support (yes, they really did want one from the last time the server was restarted!) – http://mandie.net/2014/09/15/the-hidden-logs-that-could-crash-your-lync-servers/

    Tom Arbuthnot - 10/10/2014 Reply

    LOL at “WINDOWS FABRIC GONE WILD!” , you might want to post your MS ticket number so other people with the issue can cross reference it. that does sound crazy indeed. I’m surprised with all the logs msft can’t tell what’s going on.

Changelog: Set-Cs2013Features.ps1 - Ehlo World! - 07/01/2015 Reply

[…] Misc Server Config > option 6 “Set fabric logging to circular” added. See Tom’s great article “Check your Lync server windows fabric log size with PowerShell“ […]

Leave a Reply:


close

Weekly Email Update 
of all the key 
Microsoft Teams and Skype for Business News
every Tuesday

No Spam ever, I promise - Tom