Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

Logging/ debugging in sightly related Java or Java script files

Avatar

Level 3

Hey there,

Is there a way to enable logging  or debugging in wcmuse extended Java files or related Java script files which execute on server side? 

Tried just using normal log.debug statements in Java files but couldn't see the log traces? Would there be any configuration that enables this behaviour?

Regards

1 Accepted Solution

Avatar

Correct answer by
Employee

log.info() in js files should work.  similarly in the wcmuse extended java files, the typical logger should work.

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

log.info() in js files should work.  similarly in the wcmuse extended java files, the typical logger should work.

Avatar

Level 1

Is it possible to log messages from sightly script file (.html) ?