Refactor for relocated nova logging module