Fixing Github Issue-107 - setLogLevel not working