diff --git a/src/wikiq/__init__.py b/src/wikiq/__init__.py index d45cad0..cd8992f 100755 --- a/src/wikiq/__init__.py +++ b/src/wikiq/__init__.py @@ -854,6 +854,7 @@ class WikiqParser: else: jsonl_basename = "data.jsonl" jsonl_path = Path(self.output_file) / jsonl_basename + print(f"Writing to JSONL: {jsonl_path} (append={append_mode})", file=sys.stderr) writer = JSONLWriter(str(jsonl_path), schema, append=append_mode) else: writer = JSONLWriter(self.output_file, schema, append=append_mode) diff --git a/src/wikiq/resume.py b/src/wikiq/resume.py index b88d4e3..dc3513c 100644 --- a/src/wikiq/resume.py +++ b/src/wikiq/resume.py @@ -168,6 +168,7 @@ def get_jsonl_resume_point(output_file, input_file=None): from wikiq import get_output_filename jsonl_filename = os.path.basename(get_output_filename(input_file, 'jsonl')) output_file = os.path.join(output_file, jsonl_filename) + print(f"Looking for resume point in: {output_file}", file=sys.stderr) else: return None