28.02.2019 12:46:00.026 *WARN* [127.0.0.1  GET /api/screens-dcc/devices/stati HTTP/1.1] com.adobe.granite.rest.impl.ResourceAdapterFactory Unable to handle adaptable com.adobe.cq.screens.impl.rest.DevicesStatiResource
Hi, does someone know how to get rid of this message?
I believe the WARN message is displayed as soon as a screens replication agent is enabled and polling from author to publish begins. This seems to be a minor bug which is being reported to AEM Engineering already and is being worked upon.
If you're seeing a lot of them you can probably route them to a different log file by creating a separate logger to avoid clutter in the main log file.
If Screens is not being used, a work around is to change the Author to Publish polling schedule so it occurs very infrequently. Create an OSGI Configuration on com.adobe.cq.screens.impl.jobs.DistributedDevicesStatiUpdateJob that changes the schedule to something like 0 0 1 1 * ? - which would amount to once a year on January 1st.
That warning can be ignored. It's going to be fixed with a recent SP of AEM 6.4 (maybe already included in 6.4.3, haven't checked).
Work around? Not reach around?
Ok not funny I guess. Lol.
This workaround will just silence this message:
Set the loglevel for the class "com.adobe.granite.rest.impl.ResourceAdapterFactory" to ERROR.
Can confirm this is still an issue in AEM 6.4.3 (still have to check with 6.4.4). Thanks for the workaround though, we'll implement that in the meantime