Some logging for bugfixing.