Index: openacs-4/packages/acs-bootstrap-installer/bootstrap.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/bootstrap.tcl,v diff -u -r1.34.2.4 -r1.34.2.5 --- openacs-4/packages/acs-bootstrap-installer/bootstrap.tcl 24 Jan 2022 18:25:09 -0000 1.34.2.4 +++ openacs-4/packages/acs-bootstrap-installer/bootstrap.tcl 18 Jul 2024 10:36:04 -0000 1.34.2.5 @@ -16,8 +16,13 @@ # point later). This is used in /www/admin/monitoring/startup-log.tcl to show # the segment of the error log corresponding to server initialization (between # "AOLserver/xxx starting" and "AOLserver/xxx running"). -catch { nsv_set acs_properties initial_error_log_length [file size [ns_info log]] } +# +# GN: not used anymore, but could be reactivated in the future. Note, that +# the system log might be spooled to stderr or the like. +#catch { nsv_set acs_properties initial_error_log_length [file size [ns_info log]] } +catch { nsv_set acs_properties logstats [ns_logctl stats] } + # Initialize proc_doc NSV arrays. nsv_set proc_source_file . "" Index: openacs-4/packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl,v diff -u -r1.71.2.64 -r1.71.2.65 --- openacs-4/packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl 18 Jul 2024 08:45:46 -0000 1.71.2.64 +++ openacs-4/packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl 18 Jul 2024 10:36:04 -0000 1.71.2.65 @@ -1563,7 +1563,7 @@ counted, including expected ones coming from the tests themselves. } { - set errors [dict get [ns_logctl stats] Error] + set errors [nsv_dict get acs_properties logstats Error] aa_log "Number of errors: $errors, warnings: [dict get [ns_logctl stats] Warning]" aa_equals "No errors detected during startup sequence" $errors 0 }