grub2: fix logger code
datetime, display: update logger code