Skip to content
Snippets Groups Projects
Commit 07848647 authored by ThanKarab's avatar ThanKarab
Browse files

Log fixes.

parent 1b8a9785
No related branches found
No related tags found
1 merge request!11Dev role with underscore not working
......@@ -48,7 +48,7 @@ public class PathologiesApi {
@RequestMapping(name = "/pathologies", method = RequestMethod.GET)
public ResponseEntity<String> getPathologies(Authentication authentication) {
UserActionLogging.LogUserAction(userInfo.getUser().getUsername(), "Load all the pathologies", "");
UserActionLogging.LogUserAction(userInfo.getUser().getUsername(), "Load pathologies", "Running ...");
// Load pathologies from file
Resource resource = resourceLoader.getResource("file:/opt/portal/api/pathologies.json");
......
......@@ -76,9 +76,9 @@ public class ClaimUtils {
userPathologyDatasets.add(dataset);
}else{
UserActionLogging.LogUserAction(username, "Load pathologies",
"Dataset not added: '" + dataset.getCode());
"Dataset not added: " + dataset.getCode());
UserActionLogging.LogUserAction(username, "Load pathologies",
"Claim did not exist: '" + ClaimUtils.getDatasetClaim(dataset.getCode()));
"Claim did not exist: " + ClaimUtils.getDatasetClaim(dataset.getCode()));
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment