Skip to content

Commit

Permalink
Another stab at logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedorfman committed May 15, 2024
1 parent 745dc91 commit 2bcd275
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public String PerformFunction(String input, Context context) throws Exception {
String filename = (String) file.get("fileName");
String key = (String) file.get("key");

AdapterLogger.LogDebug(this.className + " inspecting:" + file.get("key"));
AdapterLogger.LogDebug(" inspecting:" + file.get("key"));
//String filename = file.getName();
if (filename.endsWith(".mp")) {
mpFileBucket = (String) file.get("bucket");
Expand All @@ -129,7 +129,7 @@ public String PerformFunction(String input, Context context) throws Exception {
objectList.add(f);
} else if (filename.endsWith(".cmr.json")) {
// This file is a UMM-G file - add it to the objectList so it's removed from the files list
AdapterLogger.LogDebug(this.className + " adding the following umm-g file to be removed:" + file.get("key"));
AdapterLogger.LogDebug(" adding the following umm-g file to be removed:" + file.get("key"));
objectList.add(f);
} else if (isoRegex != null && filename.matches(isoRegex)) {
AdapterLogger.LogDebug(this.className + " download isoRegrex from bucket:" + file.get("bucket") +
Expand All @@ -154,7 +154,7 @@ public String PerformFunction(String input, Context context) throws Exception {
for (Object o : objectList) {
JSONObject file = (JSONObject) o;
files.remove(o);
AdapterLogger.LogDebug(this.className + " remove " + file.get("key"));
AdapterLogger.LogDebug(" remove " + file.get("key"));
//TODO Delete the file from it's place in S3.
//TODO remove mp,fp files from CMR
}
Expand Down

0 comments on commit 2bcd275

Please sign in to comment.