(bluefox) add some log outputs.