Sharepoint logs management?

%3CLINGO-SUB%20id%3D%22lingo-sub-1151856%22%20slang%3D%22en-US%22%3ESharepoint%20logs%20management%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1151856%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BI%20want%20to%20manage%20logs%20for%20my%20sharepoint%20intranet.%20We%20already%20set%20the%20log%20period%2014%20days(delete%20before%2014%20days).%20But%20still%20the%20GB%20taking%20is%20too%20much.%20How%20can%20i%20set%20it%20store%20only%20for%20eg%205GB%20and%20delete%20automatically%20old%20logs.%3C%2FP%3E%3CP%3EAlso%20one%20more%20doubt%20now%20i%20have%20200GB%20log%20on%20server%20if%20i%20delete%20it%20is%20there%20any%20issue%3F%20will%20it%20affect%20any%20other%20functionality%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1151856%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1152403%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20logs%20management%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1152403%22%20slang%3D%22en-US%22%3EHow%20did%20you%20set%20the%20log%20period%20for%2014%20days%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1154843%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20logs%20management%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1154843%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eset%20through%20central%20admin%3D%26gt%3BMonitoring%3D%26gt%3BConfigure%20Diagnostic%20Logs%3D%26gt%3BSet%2014%20Days%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1155876%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20logs%20management%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1155876%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F235476%22%20target%3D%22_blank%22%3E%40NIDHIN%20C%3C%2FA%3E%26nbsp%3Bwhat%20is%20the%20TraceSeverity%20you%20are%20using%2C%20that%20can%20have%20impact%20on%20amount%20of%20log%20generated%20please%20check%20Powershell%20commands%20here%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fadministration%2Fconfigure-diagnostic-logging%23configure-diagnostic-logging-by-using-powershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fadministration%2Fconfigure-diagnostic-logging%23configure-diagnostic-logging-by-using-powershell%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%20deleting%20logs%20will%20not%20impact%20functionality%2C%20SP%20will%20create%20a%20new%20log%20file%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi,

     I want to manage logs for my sharepoint intranet. We already set the log period 14 days(delete before 14 days). But still the GB taking is too much. How can i set it store only for eg 5GB and delete automatically old logs.

Also one more doubt now i have 200GB log on server if i delete it is there any issue? will it affect any other functionality?

3 Replies
How did you set the log period for 14 days?

@Juan Carlos González Martín 

 

set through central admin=>Monitoring=>Configure Diagnostic Logs=>Set 14 Days

@NIDHIN C what is the TraceSeverity you are using, that can have impact on amount of log generated please check Powershell commands here https://docs.microsoft.com/en-us/sharepoint/administration/configure-diagnostic-logging#configure-di...

 

Also deleting logs will not impact functionality, SP will create a new log file