commit adc40b8a76dcd486649bc59000d7e2619464557b (patch)
parent ec045eab729113e1b8c92f902bfa4f86af35d197
Author: Alex Karle <alex@alexkarle.com>
Date: Mon, 14 Nov 2022 14:42:57 -0500
rsvp: Log to /tmp/ in dev mode to not pollute REPL
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/dev.scm b/src/dev.scm
@@ -1,9 +1,16 @@
;; dev.scm -- "dev mode" (runs main as thread for REPL development)
(import srfi-18
+ spiffy
(chicken process-context))
(include "main.scm")
+(access-log "/tmp/rsvp-access.log")
+(error-log "/tmp/rsvp-error.log")
+
+(print "Logging access to " (access-log))
+(print "Logging error to " (error-log))
+
(define thread
(begin
(thread-start!