Added a few more loggings.