Small change to make sure XTrace is enabled before saying whether a logging class is enabled