use logger to debug project