Changeset 8581 for trunk/psModules
- Timestamp:
- Aug 24, 2006, 4:24:02 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/config/pmConfig.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/config/pmConfig.c
r8272 r8581 3 3 * @author PAP, IfA 4 4 * 5 * @version $Revision: 1.3 8$ $Name: not supported by cvs2svn $6 * @date $Date: 2006-08- 10 21:49:16$5 * @version $Revision: 1.39 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2006-08-25 02:24:02 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 393 393 psTrace("psModules.config", 7, "Setting trace format to %s\n", traceFormat); 394 394 psTraceSetFormat(traceFormat); 395 } 396 397 // 398 // If LOGDEST is specified in the configuration file, then we must initialize 399 // with a call to psLogSetDestination(). 400 // XXX: This is not spec'ed in the SDRS. 401 // 402 psString traceDest = psMetadataLookupStr(&mdok, config->site, "TRACEDEST"); 403 if (mdok && traceDest && strlen(traceDest) > 0) { 404 psTrace("psModules.config", 7, "Setting trace destination to %s\n", traceDest); 405 // XXX: Only stdout and stderr are provided for now; this section should be 406 // expanded in the future to do files, and perhaps even sockets. 407 if (!psTraceSetDestination(psMessageDestination(traceDest))) { 408 psLogMsg(__func__, PS_LOG_WARN, "Unable to set trace destination to %s\n", 409 config->argv[argNum]); 410 } 395 411 } 396 412
Note:
See TracChangeset
for help on using the changeset viewer.
