Skip to content

Commit 2375e70

Browse files
authored
reduce verbose
1 parent 15f34a5 commit 2375e70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/backend/prepdocslib/pdfparser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class LocalPdfParser(Parser):
2121
"""
2222

2323
async def parse(self, content: IO) -> AsyncGenerator[Page, None]:
24-
logger.info("Extracting text from '%s' using local PDF parser (pypdf)", content.name)
24+
logger.debug("Extracting text from '%s' using local PDF parser (pypdf)", content.name)
2525

2626
reader = PdfReader(content)
2727
pages = reader.pages
@@ -46,7 +46,7 @@ def __init__(
4646
self.credential = credential
4747

4848
async def parse(self, content: IO) -> AsyncGenerator[Page, None]:
49-
logger.info("Extracting text from '%s' using Azure Document Intelligence", content.name)
49+
logger.debug("Extracting text from '%s' using Azure Document Intelligence", content.name)
5050

5151
async with DocumentIntelligenceClient(
5252
endpoint=self.endpoint, credential=self.credential

0 commit comments

Comments
 (0)