[Python] Move logger into common.logger