querylog extract sh