IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 9, 2007, 9:18:01 AM (19 years ago)
Author:
Paul Price
Message:

Turning warnings into traces when going through the cameras to replace
file rules ('-F' command-line option) --- in response to bug 975.

File:
1 edited

Legend:

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

    r15218 r15252  
    705705        psMetadataItem *cameraItem;     // Item from iteration
    706706        while ((cameraItem = psMetadataGetAndIncrement(camerasIter))) {
     707            // Silently ignore problems --- they will be caught later, because if the user wants the nominated
     708            // file and it's not available for that camera, then they will know.
     709
    707710            if (cameraItem->type != PS_DATA_METADATA) {
    708                 psWarning("Entry %s in CAMERAS is not of type METADATA --- ignored.", cameraItem->name);
     711                psTrace("psModules.config", 2,
     712                        "Entry %s in CAMERAS is not of type METADATA --- ignored.", cameraItem->name);
    709713                continue;
    710714            }
     
    713717            psMetadata *newRule = pmConfigFileRule(config, camera, new); // The rule of interest
    714718            if (!newRule) {
    715                 psWarning("Unable to find filerule %s in camera %s --- ignored.", new, cameraItem->name);
     719                psTrace("psModules.config", 2,
     720                        "Unable to find filerule %s in camera %s --- ignored.", new, cameraItem->name);
    716721                continue;
    717722            }
     
    720725            psMetadata *filerules = psMetadataLookupMetadata(NULL, camera, "FILERULES"); // File rules
    721726            if (!filerules) {
    722                 psWarning("Can't find FILERULES of type METADATA in camera %s --- ignored.",
    723                           cameraItem->name);
     727                psTrace("psModules.config", 2,
     728                        "Can't find FILERULES of type METADATA in camera %s --- ignored.", cameraItem->name);
    724729                continue;
    725730            }
Note: See TracChangeset for help on using the changeset viewer.