Don't change log level as import side effect

Make hacking.core importable without having the side-effect of changing
log levels.

Change-Id: I8cdffeeea535cd87dd2ae4e497fce7e633e0ff83
Merge "Don't change log level as import side effect"