Index: shared/scripts/configuration/config.py =================================================================== diff -u -rf8bb098a23807b927e8081344aa556d1d179c837 -r7d62115ed0ebabcf0ce0c1cd398e8b3873e0b469 --- shared/scripts/configuration/config.py (.../config.py) (revision f8bb098a23807b927e8081344aa556d1d179c837) +++ shared/scripts/configuration/config.py (.../config.py) (revision 7d62115ed0ebabcf0ce0c1cd398e8b3873e0b469) @@ -22,7 +22,8 @@ HOME_DIR_PATH = CONFIG_PATH.parent.parent.parent INP_BUF_FILE_LOCATION = "".join([str(HOME_DIR_PATH),'/Desktop/sd-card/cloudsync/']) CLOUD_CREDENTIALS_LOCATION = "".join([str(HOME_DIR_PATH)+'/Desktop/cloudsync/credentials']) -ERROR_FILE_LOCATION = "".join([str(HOME_DIR_PATH)+'/Desktop/sd-card/log/']) +LOG_LOCATION = "".join([str(HOME_DIR_PATH),'/Desktop/sd-card/log/']) +ERROR_FILE_LOCATION = "".join([str(HOME_DIR_PATH)+'/Desktop/sd-card/service/']) PEM_FILES = ['1.pem', '2.pem', '3.pem' ] #standby mode Index: shared/scripts/configuration/utility.py =================================================================== diff -u -rf8bb098a23807b927e8081344aa556d1d179c837 -r7d62115ed0ebabcf0ce0c1cd398e8b3873e0b469 --- shared/scripts/configuration/utility.py (.../utility.py) (revision f8bb098a23807b927e8081344aa556d1d179c837) +++ shared/scripts/configuration/utility.py (.../utility.py) (revision 7d62115ed0ebabcf0ce0c1cd398e8b3873e0b469) @@ -144,7 +144,7 @@ """ try: current_date = get_current_date_and_time(date_format = "%Y_%m_%d") - latest_file = config.ERROR_FILE_LOCATION+current_date+'_denaliSquish.log' + latest_file = config.LOG_LOCATION + current_date + '_denaliSquish.log' return latest_file except: return False @@ -159,7 +159,7 @@ """ try: current_date = get_current_date_and_time(date_format = "%Y_%m_%d") - latest_file = '/home/denali/Desktop/sd-card/service/'+current_date+'_denaliSquish.err' + latest_file = config.ERROR_FILE_LOCATION + current_date + '_denaliSquish.err' return latest_file except: return False