work on updating logger level check