test log done
clean up chaining