logging assembly discovery

#1562
This should apply to non-factories as well