Hi, On Tue, Apr 27, 2021 at 6:45 PM Eric Norman <enor...@apache.org> wrote: > ...I don't believe there is currently any configuration for the Apache Felix > Jetty Based Http Service that would do that automatically...
I also think there's no built-in way to achieve what you want. In addition to Eric's suggestions, you might implement an Appender service [1] and use the log message to trigger a shutdown when you detect the expected failure message. I've never used that feature myself but the docs say it works ;-) -Bertrand [1] https://sling.apache.org/documentation/development/logging.html#appenders-as-osgi-services-1