Set appropriate log level on python logger

1) Fix exception on setting log level/category in introspect
2) Set appropriate log level on python logger when log level is set