Index: openacs-4/packages/clickthrough/tcl/clickthrough-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/clickthrough/tcl/clickthrough-procs.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/clickthrough/tcl/clickthrough-procs.tcl 11 Jan 2002 18:30:36 -0000 1.3 +++ openacs-4/packages/clickthrough/tcl/clickthrough-procs.tcl 1 Nov 2003 08:45:37 -0000 1.4 @@ -125,8 +125,7 @@ # increment the total click count nsv_incr clickthrough_cache total_clicks } errmsg]} { - ns_log Notice "Clickthrough counting failed -> local_url: '$local_url' ; foreign_url: '$foreign_url' ; - package_id: '$package_id' ; error message: '$errmsg'" + ns_log Warning "Clickthrough counting failed -> local_url: '$local_url' ; foreign_url: '$foreign_url' ; package_id: '$package_id' ; error message:\n$errmsg" } } @@ -141,7 +140,7 @@ if {[nsv_get clickthrough_cache total_clicks] >= [ad_parameter -package_id [apm_package_id_from_key clickthrough] MaxNumberOfCachedClicks]} { # reached cache maximum size -> make a copy (to later write to db) and clear cache - ns_log Notice "clickthrough_cache_sweeper: reached cache maximum size, dumping to database" + ns_log debug "clickthrough_cache_sweeper: reached cache maximum size, dumping to database" # lock access to cache -- only during in memory cache copy, no DB access ns_mutex lock [nsv_get clickthrough_mutex mutex] @@ -201,12 +200,12 @@ and foreign_url = :cached_foreign_url and package_id = :cached_package_id and trunc(entry_date) = trunc(sysdate)) } } errmsg]} { - ns_log Notice "Clickthrough insert failed: $errmsg" + ns_log Warning "Clickthrough insert failed: $errmsg" } } } } else { - ns_log Notice "clickthrough_cache_sweeper: error reading cache entry. Some clickthroughs may have been lost." + ns_log Warning "clickthrough_cache_sweeper: error reading cache entry. Some clickthroughs may have been lost." } }