Added appropriate logging messages