Changes between Version 18 and Version 19 of Doc/SCDB/Usage
- Timestamp:
- Oct 3, 2008, 3:48:16 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/SCDB/Usage
v18 v19 129 129 130 130 Profile 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 134 Version 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 140 If you're using ant from the command line, simply add the options you require as follows: 141 142 {{{ 143 external/ant/bin/ant -Dpan.logging=call -Dlogfile=/home/myuser/mypanc.log 144 }}}