Skip to content

Commit

Permalink
Fix missing permissions to open log file on cli
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro00dk committed May 23, 2024
1 parent 35d71d7 commit 4b3b06d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nvx.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import sys


VERSION = "0.2.6"
VERSION = "0.2.7"
LOGGER_PATH = "/var/log/nvx.log"
CONFIG_PATH = "/etc/nvx.conf"
UNIX_SOCKET = "/tmp/nvx.sock"
Expand All @@ -20,7 +20,7 @@
level=log.DEBUG,
encoding="utf-8",
format="%(asctime)s [%(levelname)s] %(message)s",
handlers=[log.FileHandler(LOGGER_PATH), log.StreamHandler()],
handlers=[log.StreamHandler(), log.FileHandler(LOGGER_PATH, delay=True)],
)


Expand Down

0 comments on commit 4b3b06d

Please sign in to comment.