Index: openacs-4/packages/acs-bootstrap-installer/tcl/00-proc-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/tcl/00-proc-procs.tcl,v diff -u -r1.66.2.34 -r1.66.2.35 --- openacs-4/packages/acs-bootstrap-installer/tcl/00-proc-procs.tcl 27 Aug 2024 13:56:33 -0000 1.66.2.34 +++ openacs-4/packages/acs-bootstrap-installer/tcl/00-proc-procs.tcl 28 Aug 2024 09:21:43 -0000 1.66.2.35 @@ -498,6 +498,10 @@ } set script [info script] + if {$script eq "" && [info exists ::ad_conn(file)]} { + set script $::ad_conn(file) + ns_log notice "ad_proc: get script name for proc '$proc_name' from ad_conn(file): $script" + } set root_length [string length $::acs::rootdir] if { $::acs::rootdir eq [string range $script 0 $root_length-1] } { set script [string range $script $root_length+1 end] @@ -507,7 +511,7 @@ if {[regexp {^packages/([^/]+)/} $script . package_key]} { set doc_elements(package_key) $package_key } else { - ad_log warning "cannot determine package key from script '$script'" + ad_log warning "cannot determine package key from script '$script': ad_proc $args" } # # As acs-automated-testing/tcl/aa-test-procs.tcl is loaded on startup before