middleware logger using _.log