Adding lots of log statements.