add some log messages for forward backward passes