import of logging fixed