Revert "remove agentfeatures from entity filtering"

This reverts commit 6c08b9a82108f4cca3f4626ab93bfe8f3c5d4c5c.
remove useless code for queuelogger