logger and test