logging assembly discovery

#1562
I want to see more tests for filters and action constraints, since those have non-trivial logic