.
This commit is contained in:
@@ -97,10 +97,10 @@ public class ResearchPdfService {
|
||||
int urlCount = urls == null ? 0 : urls.size();
|
||||
logger.info("PDF input (legacy): query='{}', contentLength={}, visitedUrlsCount={}", query, contentLength,
|
||||
urlCount);
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("PDF input (legacy) full content:\n{}", mainContent);
|
||||
logger.debug("PDF input (legacy) visitedUrls: {}", urls);
|
||||
}
|
||||
// if (logger.isDebugEnabled()) {
|
||||
logger.info("PDF input (legacy) full content:\n{}", mainContent);
|
||||
logger.info("PDF input (legacy) visitedUrls: {}", urls);
|
||||
// }
|
||||
} catch (Exception logEx) {
|
||||
// do not fail generation due to logging issue
|
||||
}
|
||||
@@ -134,10 +134,10 @@ public class ResearchPdfService {
|
||||
int urlCount = visitedUrls == null ? 0 : visitedUrls.size();
|
||||
logger.info("PDF input (synthesized): query='{}', contentLength={}, visitedUrlsCount={}", query,
|
||||
contentLength, urlCount);
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("PDF input (synthesized) full content:\n{}", synthesizedMarkdown);
|
||||
logger.debug("PDF input (synthesized) visitedUrls: {}", visitedUrls);
|
||||
}
|
||||
// if (logger.isDebugEnabled()) {
|
||||
logger.info("PDF input (synthesized) full content:\n{}", synthesizedMarkdown);
|
||||
logger.info("PDF input (synthesized) visitedUrls: {}", visitedUrls);
|
||||
// }
|
||||
} catch (Exception logEx) {
|
||||
// do not fail generation due to logging issue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user