fix Makefile of chap-proxy
add more logging