From 1a2fdf4845b71b9ef132784c08665457a0e1eb1a Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Sat, 11 Apr 2020 04:02:57 +0000
Subject: [PATCH] When a server does a background load, this line would be
 logged to the terminal server (uck). Needs an lputs() callback or similar.

---
 src/sbbs3/js_global.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/js_global.c b/src/sbbs3/js_global.c
index d281806141..28d70cc399 100644
--- a/src/sbbs3/js_global.c
+++ b/src/sbbs3/js_global.c
@@ -647,7 +647,7 @@ js_load(JSContext *cx, uintN argc, jsval *arglist)
 		JS_ENDREQUEST(bg->cx);
 		JS_ClearContextThread(bg->cx);
 		bg->sem=&p->bg_sem;
-		lprintf(LOG_DEBUG, "JavaScript Background Load: %s", path);
+//		lprintf(LOG_DEBUG, "JavaScript Background Load: %s", path); // non-contextual (always logs to terminal server)
 		success = _beginthread(background_thread,0,bg)!=-1;
 		JS_RESUMEREQUEST(cx, rc);
 		if(success) {
-- 
GitLab