Expand my Community achievements bar.

SOLVED

Manipulating AEM Log Files

Avatar

Level 5

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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.

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

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.

Avatar

Administrator

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