logging assembly discovery

#1562
give this a better name (hint: it should start with Assert)