use 3 levels of logging instead of 4

use none|info|debug for logging
add back in the stack inspect for debug logging
add a warning for debug logging on performance