Make logSize a member of CommandLogger