This commit is contained in:
root
2025-10-05 17:06:50 +05:00
parent 29811f0860
commit e5b292fea4
@@ -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
}