Hi Team,
I have a requirement where my project custom log file should fetch aem logs/request.log, basically override request.log and store into my custom log file
Same for error.log as well (custom error log should fetch only core (java errors).
kind of urgent requirement.
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
Try changing these configurations according to your need. This should work.
it's been a while since i setup custom log file for a specific request i think I did this in configMgr. Look for "Apache Sling Logging Logger Configuration" to specify the custom file and log level.
Access the AEM Web Console: Log in to your AEM instance as an administrator and navigate to the AEM Web Console. The URL should be: http://localhost:4502/system/console/configMgr
Find the Apache Sling Request Logger: In the Web Console, search for the "Apache Sling Request Logger" configuration by typing "Apache Sling Request Logger" in the search bar.
Edit the Configuration: Select the "Apache Sling Request Logger" configuration from the search results. This configuration allows you to customize request log handling.
Configure Custom Log File: In the configuration, you'll find a property named "Request Log Output." By default, it's set to logs/requests.log. Modify this property to the path of your desired custom log file. For example, set it to /var/logs/my_custom_requests.log
Hi @
You can try this: https://experienceleague.adobe.com/docs/experience-manager-65/deploying/configuring/monitoring-and-m...
Thanks,
Kiran Vedantam.
Try changing these configurations according to your need. This should work.
Views
Likes
Replies
Views
Likes
Replies