Added logging and config transforms for diagnostics purposes.