test the logger