fixed debug level in logger