Skip to content

Enable DEBUG for the LESS compiler

To do so, include com.adobe.granite.ui.clientlibs.compiler.less to the logger names list of your Sling logging configuration and set the log level to debug, as shown here.

Be aware that

  • You should not repeat the same logger name in multiple configurations;
  • Enabling DEBUG level will generate a reasonable amount of logs.

For a full running example, visit the LESS debug sample project on GitHub.

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *