corrected error when trying to log to log file

This commit is contained in:
Paul Wilde 2024-11-25 11:31:07 +00:00
parent f6301cfaf2
commit 2aeb2bd4a4
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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()