aboutsummaryrefslogtreecommitdiff
path: root/scripts/index-genenetwork
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-06-18 11:22:39 +0300
committerBonfaceKilz2024-06-18 11:31:49 +0300
commitde1594fc15a5b81bcf2618c6e83ad4b93280d9cf (patch)
tree3de133d51eaea140c359ec3ac33b0ef342235b24 /scripts/index-genenetwork
parent6237006aee0adf256c293266167745634ce2f2c0 (diff)
downloadgenenetwork3-de1594fc15a5b81bcf2618c6e83ad4b93280d9cf.tar.gz
Revert "Set the file path for the logger."
This reverts commit b21102bc4ad3678173e7c94d3e66333ec7c1d40a.
Diffstat (limited to 'scripts/index-genenetwork')
-rwxr-xr-xscripts/index-genenetwork2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/index-genenetwork b/scripts/index-genenetwork
index 1f9c13b..34c68f2 100755
--- a/scripts/index-genenetwork
+++ b/scripts/index-genenetwork
@@ -488,8 +488,6 @@ def is_data_modified(xapian_directory: str,
def create_xapian_index(xapian_directory: str, sql_uri: str,
sparql_uri: str) -> None:
logging.basicConfig(level=os.environ.get("LOGLEVEL", "DEBUG"),
- filename=os.environ.get("INDEX_LOG_FILE"),
- filemode="a",
format='%(asctime)s %(levelname)s: %(message)s',
datefmt='%Y-%m-%d %H:%M:%S %Z')