small change to logger