Ported the rest of the log statements..