request logging middleware fix
unicode error fix