Add some logging statements.