Make logger obey level logging

Change logger so that when we say we only want standard logging we only
get standard loghing etc