Fix bug in uuid re, made querylogs a bit more readable.