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
parent
5e0091acfc
commit
3c8f316fa0
|
@ -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 = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue