redirect index/log