some logging for hunting bugs.