Tuesday, December 16, 2014

Increase the size of Lync Server Log

A large customer of mine asked how the size of Lync Server Log in EventViewer can be increased. The request made sense for them since so many events are registered on single server per hour that tracking past events older than one day is practically impossible.

The first and (easiest) method that comes to mind is GPO. However, in Group Policy we find only the native Application, Security and System logs properties.


We have three options to achieve this task:

1. Do it manually on each server



***The default value is 16MB. In this example, the log size was increased to 80GB (81920KB)

2. Use wevtutil.exe (http://technet.microsoft.com/en-us/library/cc732848.aspx).

wevtutil sl "Lync Server" /ms:83886080

***Note that here we express the desired log size in Bytes (80MB = 83886080 bytes)

3. The last (and preferable) option is… GPO. But wait, GPO does not have this option?!?
We can use New Registry Item with Update option to push the new value to all Lync servers in our environment.



The “Key Path” is SYSTEM\ControlSet001\Services\EventLog\Lync Server and the Value data is our new log size in Bytes.

This is it. Apply the new GPO accordingly and either force gpupdate or leave the servers to do so natively.

One last note: Log file sizes must be a multiple of 64 KB. If you enter a value that is not a multiple of 64 KB, Event Viewer will round he log file size up to a multiple of 64 KB.

7 comments:

Berry said...

happy new year message
2018 new year greetings
Ideas for christmas

uma said...

nice blog...

devops course in bangalore

best devops training in bangalore

Devops certification training in bangalore

devops training in bangalore

devops training institute in bangalore

uma said...

nice blog...

devops course in bangalore

best devops training in bangalore

Devops certification training in bangalore

devops training in bangalore

devops training institute in bangalore

Scott Stayris said...

Quickbooks is the advanced accounting software to manage business data. The software provides cloud service as in cloud services you can operate your Quickbooks tool from anywhere in the world. Quickbooks Online File

Surbhi Sharma said...


Are you looking for activating your Roku com link? roku.com/link This can turn your tv into up to date streaming gadget, Rokucomlink you can stay advanced and stay.Learn how to link the Roku player to your TV using. Enter the Roku activation code which displays on your TV screen in roku.com/link page. Activate roku device Follow the Quick Start Guide that accompanied your Roku gadget. For extra help setting up your Roku gadget, roku.com/link visit the Setup and Troubleshooting segment of the Roku site given above.


Roku offers the accompanying seven gushing gadgets. There are five set-top gushing boxes, the Roku Ultra, Roku Premiere, Roku Premire+, Roku Express, and Express+. Roku.com/link Roku Activation Code At that point there are two sticks, the Roku Streaming Stick and Roku Streaming Stick Plus.Roku.com/link - Steps to interface your Player to your TV. Roku activate gadget is the easiest method to stream stimulation to your TV. Roku.com/link visit for roku .Stream hundreds of hit movies, TV shows and more Roku.com/link on the go with The Roku Channel, use it as a second remote, enjoy private listening, and more.

Link Roku Activation said...

Thanks for sharing this blog here. It seems really very informative.

tv.youtube.com/start/roku
roku com link

patron said...

خرید اکانت قانونی call of duty modern warfare ii
خرید اکانت قانونی fifa 23
خرید اکانت قانونی god of war ragnarok