sh: add loglvl to show_trace()