Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

LogListener or LogMonitor in AEM

Avatar

Level 1

Is there anyway to listen to any exception logged to error.log using LogListener or any other way ?

1 Reply

Avatar

Level 10

OOTB - logging functionality for AEM is documented here -- Logging

To do what you are describing would require custom functionality using https://osgi.org/javadoc/r4v42/org/osgi/service/log/LogListener.html .

Avatar

Level 1

With LogListener I am able to listen to any error (reference unsatisfied etc)  during bundle start / installation but not when there is a runtime exception in code..