Setting log location to wherever the script is called.

x On a Mac, /var/log/ is owned by root and wheel, with non-writable permissions.
  Temporary workaround until code can be put in to determine
  what OS you are running on, for proper logging location.
pull/10/head
Cotton 2018-06-15 13:37:28 -07:00
parent 5e0091acfc
commit 3c8f316fa0
1 changed files with 19 additions and 19 deletions

View File

@ -307,7 +307,7 @@ class Authority(Certificate):
def main(argv):
# Define default values
VERBOSE = False
LOG_FILE = "/var/log/certGen.log"
LOG_FILE = "./certGen.log"
LOG_LEVEL = logging.WARNING
opts = {}