Allow TraceEnable to be configurable

Change-Id: I4e6c486b9af8f72080c5d47310615f7f9fef744b
Closes-Bug: #1319319