local is_orphan is_gone
local orphan_list non_orphan_list
for child in $our_children; do
hash_get_ref ALL_DISPELS $child is_gone
if [[ $is_gone == yes ]]; then
- debug "someone depends on $child but it was already removed"
+ debug dispel "someone depends on $child but it was already removed"
continue
fi
# determine if this child is becomming an orphan or not
@@ -300,9 +300,9 @@ function dispel_children() {
fi
done
for child in $non_orphan_list; do
- debug "looking at non-orphan $child:"
- #debug "parents: $(hash_get up_deps $child)"
- #debug "children: $(hash_get down_deps $child)"
+ debug dispel "looking at non-orphan $child:"
+ #debug dispel "parents: $(hash_get up_deps $child)"
+ #debug dispel "children: $(hash_get down_deps $child)"
if dispel_child_query "$child" "is not an orphan" \
"Would you like to dispel it" \
"${NONORPHAN_DEFAULT}" ; then
diff --git a/var/lib/sorcery/modules/dl_handlers/dl_tla
b/var/lib/sorcery/modules/dl_handlers/dl_tla
index 4c70b89..716d2e3 100755
--- a/var/lib/sorcery/modules/dl_handlers/dl_tla
+++ b/var/lib/sorcery/modules/dl_handlers/dl_tla
@@ -42,7 +42,7 @@ function dl_tla_get() {
continue
}
else
- debug "archive $TLA_ARCHIVE is already registered"
+ debug "dl_tla" "archive $TLA_ARCHIVE is already registered"
fi
if test -d $target; then
pushd $target &>/dev/null &&
diff --git a/var/lib/sorcery/modules/libapi b/var/lib/sorcery/modules/libapi
index 4b75ccd..5457089 100755
--- a/var/lib/sorcery/modules/libapi
+++ b/var/lib/sorcery/modules/libapi
@@ -835,7 +835,7 @@ function persistent_add () {
##
#---------------------------------------------------------------------
function persistent_clear () {
- debug "persistent_clear - $*"
+ debug "libapi" "persistent_clear - $*"
real_persistent_clear "$@"
}