IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1684


Ignore:
Timestamp:
Sep 2, 2004, 5:43:10 PM (22 years ago)
Author:
Paul Price
Message:

Added psLogMsg and psTrace concerns.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/testing/pap_rel2.txt

    r1681 r1684  
    19311931L1720 minNum, maxNum
    19321932L1744 Non-uniform histogram bins
     1933
     1934=============================================================================================================
     1935
     1936To get psLogMsg output to stderr, you need to specify:
     1937        psLogSetDestination("dest:stderr");
     1938Similarly for stdout.  I can see where they got it from (the SDRS
     1939entry could easily be misinterpreted), but I don't think this is the
     1940behaviour we expected.
     1941
     1942psTrace:
     1943
     1944* Each "facility" must commence with a dot: e.g.,
     1945".IPP.debias.overscan", which I think is really annoying because it's
     1946easy to forget.
     1947
     1948* You must set every level for each node on the trace tree explicitly if
     1949you intend it to be used.  For example, the call
     1950        psTraceSetLevel(".IPP.debias.overscan", 5)
     1951will produce the following setup:
     1952.                    0
     1953 IPP                 5
     1954 debias              5
     1955 overscan            5
     1956Note how each of those is in the same level, so that the hierarchy
     1957hasn't been built up?  Of course, this is a bug because it does
     1958something completely unexpected, but I would appreciate confirmation
     1959of my expectation that a 4-deep heirarchy (".", ".A", ".A.B",
     1960".A.B.C") should be formed from simply specifying a level for
     1961".A.B.C".
     1962
     1963* I would have thought that the property of inheritance that we
     1964specified implied that if I hadn't explicitly set the level for
     1965".A.B", but I have set the level for ".A", then printing a trace
     1966message on component ".A.B" would depend on comparing the level to the
     1967set level of ".A"; but in the implementation, it would be ignored
     1968completely.
Note: See TracChangeset for help on using the changeset viewer.