logging assembly discovery

#1562
For 6-7 it's these two conditions are OR-ed