how to add more than one pattern to slingServletFilter?
We want a logging filter to support multiple different groups of endpoints, e.g. /bin/proxy/.*, /bin/someApi/v2.* etc. We could try to create a regexp that matches each pattern we want to add, or is there a way to add multiple patterns? Or we could create a filter for each pattern, and point to some common code.
@SlingServletFilter(scope = { SlingServletFilterScope.REQUEST }, pattern = "/bin/someApi/v2/.*", methods = { "GET",
"POST" })