Skip to content

Commit

Permalink
Issue #SB-000 fix: Add more logs for troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinaya Kumar B committed Dec 29, 2018
1 parent 930bac8 commit e50071e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion service/app/controllers/BaseController.java
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,6 @@ public Result createCommonResponse(Object response, String key, Request request)
(Map<String, Object>) requestInfo.get(JsonKey.CONTEXT)));
// if any request is coming form /v1/telemetry/save then don't generate the telemetry log
// for it.
ProjectLogger.log("BaseController:createCommonResponse: Write to telemetry to lmax", LoggerEnum.INFO.name());
lmaxWriter.submitMessage(req);

Response courseResponse = (Response) response;
Expand Down
2 changes: 1 addition & 1 deletion service/app/controllers/pagemanagement/PageController.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public Promise<Result> getPageData() {
} catch (Exception e) {
ProjectLogger.log(
"PageController:getPageData: Exception occurred with error message = " + e.getMessage(),
LoggerEnum.INFO.name());
LoggerEnum.ERROR.name());
return Promise.<Result>pure(createCommonExceptionResponse(e, request()));
}
}
Expand Down

0 comments on commit e50071e

Please sign in to comment.