tidy log
debug -> trace
docs