Fix redirect logging