Manipulating AEM Log Files | Community
Skip to main content
TheBigRed
Level 4
December 3, 2015
Solved

Manipulating AEM Log Files

  • December 3, 2015
  • 3 replies
  • 880 views

In reference to the log files under web consoles -- is there a way to manipulate

the data using an API of sort? Why I want to do this is when developing

for AEM it's inconvenient to go into web console and trying to

find the exception thrown or finding the root error. Especially when thousands of files

are being processed by multiple users. I want to manipulate the data

so I can perhaps find entries after a certain point of time or looking for certain keywords.

This way i can filter out the unnecessary log entries. Also plan on implementing this plan on my computer

so it will have no installation what so ever on AEM.

 

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

AEM does not support an API for modifying the log file. However - you can create a custom log file and then have better control over what content is logged. See this AEM documentation for details: 

https://docs.adobe.com/docs/en/cq/5-6-1/deploying/monitoring_and_maintaining.html#Create a Custom Log File

Hope this helps.

3 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
December 3, 2015

AEM does not support an API for modifying the log file. However - you can create a custom log file and then have better control over what content is logged. See this AEM documentation for details: 

https://docs.adobe.com/docs/en/cq/5-6-1/deploying/monitoring_and_maintaining.html#Create a Custom Log File

Hope this helps.

kautuk_sahni
Community Manager
Community Manager
December 4, 2015

Hi 

As mentioned by Scott, there is a documentation for "Creating Your Own Loggers and Writers".

Link:- https://docs.adobe.com/docs/en/cq/5-6-1/deploying/configure_logging.html#Creating Your Own Loggers and Writers

I hope this would help you.

Thanks and Regards

Kautuk Sahni

Kautuk Sahni
Peter_Puzanovs
Community Advisor
Community Advisor
December 4, 2015