Localhost for AEM 6 stopped populating crx-quickstart\logs\error.log.
After I installed the service pack update I no longer get error.log populated if I have an error in my code I need to debug.
Regards
Clive
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Clive,
I tested by installing fresh copy of AEM6(without sp1) and introducing an error in jsp script. I see error for my file in error.log
Then I installed SP1 and created same error in jsp file, I am able to see the error in error.log.
I suggest you to restart your AEM6 after applying SP1 update. Then test again.
If that doesn't work, create a fressh install of AEM on separate port like 6502. Then apply SP update, restart your server and test it again.
Hopefully you should see errors in the log
Hi Clive,
I tested by installing fresh copy of AEM6(without sp1) and introducing an error in jsp script. I see error for my file in error.log
Then I installed SP1 and created same error in jsp file, I am able to see the error in error.log.
I suggest you to restart your AEM6 after applying SP1 update. Then test again.
If that doesn't work, create a fressh install of AEM on separate port like 6502. Then apply SP update, restart your server and test it again.
Hopefully you should see errors in the log
To resolve the issue where the error.log in AEM 6 is not being populated after installing a service pack, you can try the following steps:
AEM might have updated the log level after the service pack update. To check and adjust the log level:
Make sure the log appender for the error log is correctly configured. To verify or modify the logging configuration:
Ensure that the crx-quickstart/logs directory has the appropriate file permissions. If permissions were changed during the update, AEM may not be able to write to error.log.
After updating the service pack, some configurations might have been altered. Check the logback.xml or other log configuration files in the AEM installation directory (crx-quickstart/conf) to ensure that error.log is still correctly configured to capture errors.
After making the necessary adjustments, restart AEM to ensure the changes take effect.
Trigger an error in your code and check if it's being logged in error.log. If not, review the logs from the AEM web console under Logs in /system/console.
If these steps do not resolve the issue, it may be beneficial to check the AEM service pack release notes for any changes to logging configurations or known issues related to logging after the update.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies