Changes between Version 18 and Version 19 of Doc/SCDB/Usage


Ignore:
Timestamp:
Oct 3, 2008, 3:48:16 PM (16 years ago)
Author:
/C=IE/O=Grid-Ireland/OU=cs.tcd.ie/L=RA-TCD/CN=Stephen O. Childs
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/SCDB/Usage

    v18 v19  
    129129
    130130Profile compilation cannot check if all the dependencies for all packages present in the profile can be satisfied. By default, this is checked by SPMA on the client before trying to deploy de RPM changes. A tool can be used to check dependencies after compilation but before deployment. This is done by analyzing the profile and checking the metadata for each RPM present, using YUM as a source for the dependency metadata. The took is [source:SCDB/trunk/src/utils/profiles/checkdeps.py src/utils/profiles/checkdeps.py]. Its usage is described in a [wiki:Development/Templates/ClientSideDepsCheck dedicated page].
     131
     132=== Using panc logging ===
     133
     134Version 8 of the Pan compiler introduces some useful logging facilities that are helpful for debugging (for example, the order of template inclusion and function calls can be logged). These features can be used from SCDB by setting options as follows:
     135
     136|| '''Option''' || '''Possible values'''                         || '''Default''' ||
     137|| pan.logging  || "all" "none" "include" "call" "task" "memory" || "none"        ||
     138|| pan.logfile  || Any filename you can write to                 || /tmp/panc.log ||
     139
     140If you're using ant from the command line, simply add the options you require as follows:
     141
     142{{{
     143external/ant/bin/ant -Dpan.logging=call -Dlogfile=/home/myuser/mypanc.log
     144}}}