Moved "logging" initialization to happen during import