Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

How to check logs of Adobe Granite HTML Library Manager

Avatar

Level 1

Few JS files are not getting minified.Is there any way to check what is causing error for JS minification.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

The best way to do this is to check why minification is failing, Setup a DEBUG logger on "com.adobe.granite.ui.clientlibs" and Follow the steps below:

 

- Go to <host>:<port>/libs/granite/ui/content/dumplibs.rebuild.html

- Invalidate Cache

- Rebuild Libraries

- Check the debug logger for errors.

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @vijithavari 

If there is any error during minification of any JS file, it will be logged in the error.log file.

Please check the crx-quickstart/logs/error.log file and you should be able to see what is causing the minification to fail.

 

Thanks!

Avatar

Correct answer by
Employee Advisor

The best way to do this is to check why minification is failing, Setup a DEBUG logger on "com.adobe.granite.ui.clientlibs" and Follow the steps below:

 

- Go to <host>:<port>/libs/granite/ui/content/dumplibs.rebuild.html

- Invalidate Cache

- Rebuild Libraries

- Check the debug logger for errors.