Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How many days we can keep the logs in AEM server

Avatar

Level 3

Hi ,

Couod you please help me on the below points.

In how many days we can keep the logs in server(author , publishers) by default. If I need to keep more than a default period what should i do to keep the logs more than certain period or what is the best approch to store or save the logs on certain time.

 

Thank you

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@Satish2info Logs rotation is governed by Apache Sling Logging Writer Configuration. Modify it as per your requirement but keep track of the size to prevent server bloating. Once the file is rotated just copy the old one to a new location. 

 

Mayank_Gandhi_1-1623174796966.png

 

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

@Satish2info Logs rotation is governed by Apache Sling Logging Writer Configuration. Modify it as per your requirement but keep track of the size to prevent server bloating. Once the file is rotated just copy the old one to a new location. 

 

Mayank_Gandhi_1-1623174796966.png