Skip to content

Commit 5205d1d

Browse files
authored
Merge pull request #354 from topcoder-platform/develop
HOTFIX - Debug logging to identify prod issues with certain data
2 parents 4ae87ba + 68062fe commit 5205d1d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/common/informixHelper.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ async function loadOnlineReviewDetails (authUser, submission) {
7171
// Add the reviews created to DynamoDB
7272
for (const review of reviewsCreated) {
7373
if (review && review.typeId) {
74-
logger.info(JSON.stringify(review, null, 4))
74+
logger.info(`Creating review: ${JSON.stringify(review, null, 4)}`)
7575
await ReviewService.createReview(authUser, review)
7676
}
7777
}
7878

7979
// Adds the review summation to DynamoDB
80-
logger.info(JSON.stringify(reviewSummation, null, 4))
80+
logger.info(`Creating review summation: ${JSON.stringify(reviewSummation, null, 4)}`)
8181
if (reviewSummation) {
8282
await ReviewSummationService.createReviewSummation(authUser, reviewSummation)
8383
}
@@ -96,8 +96,6 @@ function queryInformix (query) {
9696
';PWD=' + config.get('INFORMIX.PASSWORD')
9797

9898
let result = null
99-
logger.info(query)
100-
10199
try {
102100
const conn = informix.openSync(connectionString)
103101
result = conn.querySync(query)

0 commit comments

Comments
 (0)