[JBIDE-14004] corrected check if tracing is enabled