Tuesday, May 2, 2017

How to access all AEM logs via Felix Console


Sometimes, we need to get all AEM logs but might not have SSH access to the server.
In such scenarios, we can rely on the Felix Console.

1) Go to <domain>/system/console/status-slinglogs












The screen rolls automatically when the log files get updated for the current day.
However, all log files can also be downloaded via 4 options:

1) Download As Text

This will open a text document: <domain>/system/console/status-slinglogs.txt that has content from all log files

2) Download As Zip

This will download a zip file named 'status-slinglogs.zip' on your machine.
All system and custom log files can be extracted from this zip file.


3) Download Full Text

This will open a text document: <domain>/system/console/status-slinglogs/configuration-status-<date>.txt that has information about all bundles and content from all log files

4) Download Full Zip

This will download a zip file named 'configuration-status-20170503-050248.zip' on your machine.
All bundles details, config details and log files can be extracted from this zip file.



How to recompile clientlibs and invalidate cache?

The clientlibs in AEM consists of JS and CSS and in some instances they get cached; which as would be obvious; causes issues. To remove th...