Installation of Sharepoint Diagnostic Log Compression (DLC) v1.0

Install via Sharepoint Management Console (PowerShell)

  1. Download Diagnostic Log Compression from http://dlc.codeplex.com and  Copy wsp file to c:\ drive
  2. Adding solution to solution storeAdd-SPSolution -LiteralPath C:\DiagnosticLogCompression.wsp
  3. Deploy SolutionInstall-SPSolution -Identity diagnosticlogcompression.wsp –GACDeployment
  4. Enable Feature for Central Administration application

Enable-SPFeature -Identity 0ed55cf5-5322-44bb-b5bf-9126130f7d38 -url <Your Central administration url and port>

  1. Restart Sharepoint Timer Servicenet stop sptimerv4
    net start sptimerv4

 

Install via stsadm tool

1. Download Diagnostic Log Compression from dlc.codeplex.com and Copy wsp file to c:\

2. Add Solution to solution store

stsadm -o addsolution -filename c:\DiagnosticLogCompression.wsp

3. Deploy solution

stsadm -o deploysolution -name DiagnosticLogCompression.wsp -immediate –allowgacdeployment

4. Execute Admin Service jobs

stsadm -o execadmsvcjobs

5. Enable Diagnostic Log Compression Feature

stsadm -o activatefeature -id 0ed55cf5-5322-44bb-b5bf-9126130f7d38 -url

6. Restart Sharepoint Timer Service

net stop sptimerv4
net start sptimerv4

  Cheers 🙂

Sharepoint 2010 Diagnostic Log Compression Tool

Hi everyone,

Have you ever  need to save sharepoint diagnostic log files ( uls logs) to another location for some reason security,backup, low storage capacity etc. If you enabled verbose mode than your log files could much storage problem . Sometimes one file getting bigger of GB’s.

This sharepoint extention helps you to compress,copy or move sharepoint uls log files to another location with a scheduled time for backup purpose.

Features
– Compression of uls log files using Gzip approximitly %80 compression ratio.
– Multiple Server Support , Running on selected servers option
– Scheduling operations.
– Copy or Move Compressed/Uncompressed Log files to another network location.
– Configuration via Central Administration.

You can download from codeplex.com
http://dlc.codeplex.com

.