Some file logging to help diagnose issues. -- temporary.