Properly call logger