Please make similar changes to the other calls to logger in this patch as well.