diff --git a/src/logging.scm b/src/logging.scm index c04c740..1d38af0 100644 --- a/src/logging.scm +++ b/src/logging.scm @@ -67,8 +67,8 @@ ;; Handles the actual logging (define ((log-line level) fmt . args) - (when (or (not (*log-file*)) - (not (log-file))) + (when (or (*log-file*) + (log-file)) (when (not (log-file)) (log-file (open-output-file (*log-file*) #:append)) (log-info "Logging started"))