add extra output to logging