logging assembly discovery

#1562
add functional test