From adc40b8a76dcd486649bc59000d7e2619464557b Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Mon, 14 Nov 2022 14:42:57 -0500 Subject: [PATCH] rsvp: Log to /tmp/ in dev mode to not pollute REPL --- src/dev.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/dev.scm b/src/dev.scm index 80bb5ed..04668d7 100644 --- 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! -- libgit2 1.1.1