log indexing errors
fix debug log
add debug timers