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

LogListener or LogMonitor in AEM

SunilChowdhary
Level 1
Level 1

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

2 Replies
smacdonald2008
Level 10
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 .

SunilChowdhary
Level 1
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..