IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9992


Ignore:
Timestamp:
Nov 14, 2006, 4:34:18 PM (20 years ago)
Author:
Paul Price
Message:

Changes to allow system to work with PS_NO_TRACE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfig.c

    r9904 r9992  
    44 *  @author EAM (IfA)
    55 *
    6  *  @version $Revision: 1.53 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2006-11-08 02:10:07 $
     6 *  @version $Revision: 1.54 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2006-11-15 02:34:18 $
    88 *
    99 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    357357
    358358        // Set trace destinations
     359        #ifndef PS_NO_TRACE
    359360        psString traceDest = psMetadataLookupStr(&mdok, config->site, "TRACEDEST");
    360361        if (mdok && traceDest && strlen(traceDest) > 0)
     
    368369            }
    369370        }
     371        #endif
    370372
    371373        // Allow command line options to override defaults for logging.
     
    374376        //   B: will the pmConfigRead function always be called on initialization.
    375377        //
    376         psS32 saveLogLevel = psLogGetLevel();
    377378        psArgumentVerbosity(config->argc, config->argv);
    378379        // XXX: substitute the string for the default log level for "2".
    379         if (2 == psLogGetLevel())
    380         {
    381             psLogSetLevel(saveLogLevel);
    382         }
    383380    }
    384381
Note: See TracChangeset for help on using the changeset viewer.