From 2aeb2bd4a4b8b44bab5a21c7024d6aee3e54101d Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Mon, 25 Nov 2024 11:31:07 +0000 Subject: [PATCH] corrected error when trying to log to log file --- norg.nimble | 2 +- norg/norg.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/norg.nimble b/norg.nimble index 1a66726..4288661 100644 --- a/norg.nimble +++ b/norg.nimble @@ -1,6 +1,6 @@ # Package -version = "0.1.11" +version = "0.1.12" author = "Paul Wilde" description = "A Borg Backup Orchestration Tool" license = "AGPL-3.0-or-later" diff --git a/norg/norg.nim b/norg/norg.nim index 101f296..7a8905d 100644 --- a/norg/norg.nim +++ b/norg/norg.nim @@ -12,7 +12,7 @@ proc showVersion() = quit(0) proc startLogger(nc: NorgConfig, log_info: LogInfo) = - initLogger(log_info.level, "[$levelname] ") + initLogger(log_info.level, "[$levelname] ", log_file = nc.log_info.file) proc start() = parseArgs()