Ignore:
Timestamp:
03/03/10 14:59:40 (2 years ago)
Author:
sys
Message:

initApp : review dtd paramétrage des traces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Jav_Commons/src/com/scenari/s/fw/properties/loaders/xml/HInitAppSaxHandler.java

    r13381 r15011  
    8181        public static final String TAG_TRACE = "trace"; 
    8282 
    83         public static final String TAG_TRACE_ATT_ACTIVE = "active"; 
     83        public static final String TAG_TRACE_ATT_ENABLED = "enabled"; 
    8484 
    8585        public static final String TAG_TRACE_ATT_CODE = "code"; 
     
    128128                        try { 
    129129                                if (vCode != null && !vCode.equals("")) { 
    130                                         String vActive = pAttributes.getValue(TAG_TRACE_ATT_ACTIVE); 
    131                                         if (vActive != null && vActive.startsWith("Y")) { 
     130                                        String vEnabled = pAttributes.getValue(TAG_TRACE_ATT_ENABLED); 
     131                                        if (vEnabled != null && vEnabled.equals("true")) { 
    132132                                                TraceMgr.enableTrace(vCode, true); 
    133133                                        } else { 
Note: See TracChangeset for help on using the changeset viewer.