change debug level to a debug vector; add levels on logging (and the