Fixing logging window. #349