Remove directive use and replace with a variable checking for printing t...

...racing/logging