aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/index-genenetwork3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/index-genenetwork b/scripts/index-genenetwork
index 9786134..02c669d 100755
--- a/scripts/index-genenetwork
+++ b/scripts/index-genenetwork
@@ -477,7 +477,8 @@ 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"),
- format='%(relativeCreated)s: %(levelname)s: %(message)s')
+ format='%(asctime)s %(levelname)s: %(message)s',
+ datefmt='%Y-%m-%d %H:%M:%S %Z')
logging.info("Verifying the checksums")