logging assembly discovery

#1562
and make it a static class