X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=installation%2Fsdnc%2Fsrc%2Fmain%2Fscripts%2FinstallCerts.py;fp=installation%2Fsdnc%2Fsrc%2Fmain%2Fscripts%2FinstallCerts.py;h=a8133d5f0cc8c9000672fa0875c04fd1e273b74a;hb=deb729cf3099ad58cb8c243101c37904da4fe349;hp=aaddedffc88d0c4fa9ece3e2f1a61b20f8137d90;hpb=68aa50c8ee16169173862312b7ee0acd3ec4f94d;p=sdnc%2Foam.git diff --git a/installation/sdnc/src/main/scripts/installCerts.py b/installation/sdnc/src/main/scripts/installCerts.py index aaddedff..a8133d5f 100644 --- a/installation/sdnc/src/main/scripts/installCerts.py +++ b/installation/sdnc/src/main/scripts/installCerts.py @@ -28,7 +28,11 @@ import shutil import subprocess import logging + log_file = '/opt/opendaylight/data/log/installCerts.log' +with open(os.path.join('/opt/opendaylight/data/log', 'installCerts.log'), 'w') as fp: + pass + log_format = "%(asctime)s - %(name)s - %(levelname)s - %(message)s" logging.basicConfig(filename=log_file,level=logging.DEBUG,filemode='w',format=log_format)