refartor intrumentor
change the logger for java 1.5