fixed logging request in example