Export (0) Print
Expand All

Modify Settings for Log Files of Device Update Activity

 

Topic Last Modified: 2010-12-30

Device Update Web service automatically creates log files that record device update activity. As part of your organization’s data management strategy, you may want to periodically purge the log files to free up disk space. You can also configure a time of day when you want Device Update Web service to automatically delete log files that are older than the number of days you configured the service to keep log files (by default, that is log files that are more than 10 days old).

noteNote:
Some settings, including the time of day that Device Update Web service automatically deletes expired log files, cannot be modified using Lync Server Control Panel. Instead, you must use Lync Server Management Shell. To specify the time of day to delete expired log files, use the New-CsDeviceUpdateConfiguration cmdlet with the –LogCleanUpTimeOfDay parameter. For details, see New-CsDeviceUpdateConfiguration in the Lync Server Management Shell documentation.

You can change these settings according to your organization’s requirements. If you do not want Device Update Web service to purge log files automatically, you can purge them manually, as needed. Log settings can be changed globally or per site.

CautionCaution:
Purging files permanently removes them from the file system. After you purge a file, it cannot be recovered.

  1. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools.

  2. In the left navigation bar, click Clients, and then click Device Log Configuration.

  3. On the Device Log Configuration page, double-click the configuration that you want to change.

  4. In the Edit Log Setting dialog box, change any of the following settings as necessary:

    • Maximum file size (bytes)   Specifies the maximum size a log file can become before it is purged. The default is 1,024,000 bytes (1 MB).

    • Maximum cache size (bytes)   Specifies the maximum amount of information (in bytes) that can be held in the log file cache before that cache must be cleared and the data is written to a log file. The default is 512,000 bytes (0.5 MB).

    • Number of minutes to flush cache (1-60)   Indicates how often information stored in the log file cache is written to the actual log file. After the data is logged, the cache is cleared. The default is five minutes.

    • Number of days to keep log files (1-365)   Specifies the number of days the log files are kept before they are purged. The default is 10 days.

  5. Click Commit.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft