IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 24, 2004, 10:12:28 AM (22 years ago)
Author:
gusciora
Message:

I modified the defualt trace level behavior for the psTrace routines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psTrace.c

    r2273 r2426  
    99 *  @author George Gusciora, MHPCC
    1010 *
    11  *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-11-04 01:05:00 $
     11 *  @version $Revision: 1.39 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-11-24 20:12:28 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    385385        traceLevel = doGetTraceLevel(name);
    386386    }
     387
     388    // XXX: The default trace level is currently set at -1, which is not a
     389    // valid trace level.  This is convenient in determining whether or not
     390    // a component should inherit the trace level from parent nodes.  However,
     391    // it's not clear that -1 should ever be returned by this function.
     392    // The SDR is unclear on this point and we should probably request IfA
     393    // comment.
     394    if (traceLevel == PS_DEFAULT_TRACE_LEVEL) {
     395        traceLevel = PS_THE_OTHER_DEFAULT_TRACE_LEVEL;
     396    }
     397
    387398    return(traceLevel);
    388399}
     
    454465    }
    455466
    456     doPrintTraceLevels(cRoot, 0, PS_DEFAULT_TRACE_LEVEL);
     467    doPrintTraceLevels(cRoot, 0, PS_THE_OTHER_DEFAULT_TRACE_LEVEL);
    457468}
    458469
Note: See TracChangeset for help on using the changeset viewer.