Added logger data and fixed logger bug.