logging assembly discovery

#1562
If this code remains here, I +1 that.