add debug-trace: take 2
debug-trace take 3: get logging out to work, set level