Skype for Business 5 minute Admin – Centralized Logging Error 33020

Today I came across an issue that arose from a much larger problem I was experiencing. In the Event Viewer I noticed an error I had not seen before referencing the Centralized Logging Agent.

Event ID: 33020

Description: Centralized Logging Service Agent Error while moving cache files to network share.

To my knowledge at this point there has never been a need to consolidate log files to a network share, so I ran the command Get-CsClsConfiguration on both the environment that was experiencing the issue and two other environments that were not. The results were identical in that the cache file network location was not set.

Restarting the Logging service did not resolve the issue for me, so I had to set a network location for these using the following command

Set-CsClsConfiguration –CacheFileNetworkFolder \\dfs.domain.com\shares\skype\logging

Once this was set, the centralized logging service was happy again. Looking at the folders, it creates a sub folder for each Skype for Business server and then moves the log files generated by cls logging from the temp folder to the network share. Not sure why Skype for Business is now adamant it wants this parameter set, but I don’t see the harm in setting it anyway.

5 thoughts on “Skype for Business 5 minute Admin – Centralized Logging Error 33020

  1. Hi Mark,

    I have this error too in our environment, but I don’t particularly want to set a network folder location, the main reason being is I don’t think you can specify the age of the files in this location so the space will just be consumed? Am I right or missing a configuration setting somewhere?

    Thank you,
    Karen

    Like

    1. Hi Karen
      That’s right there is no setting to set the age of the files and scavenge accordingly. You could run a powershell script on a scheduled task to remove files older than X days but this is more of a work around. Unfortunately, I haven’t come across another fix to this issue yet.
      thanks

      Like

  2. Just heads up there is an error in your command the correct command is.

    Set-CsClsConfiguration –CacheFileNetworkFolder \\dfs.domain.com\shares\skype\logging

    instead of Set-ClsConfiguration CacheFileNetworkFolder\\dfs.domain.com\shares\skype\logging

    Many thanks.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s