Skip to content

Commit 791b6ae

Browse files
Adding more logs inside enclave
1 parent 53495aa commit 791b6ae

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

scripts/aws/ec2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def __run_nitro_enclave(self):
203203
"--enclave-cid", "42",
204204
"--enclave-name", "uid2operator"
205205
]
206-
if self.configs.get('debug_mode', True): #E2E override
206+
if True: #E2E override
207207
print("Running in debug_mode")
208208
command += ["--debug-mode", "--attach-console"]
209209
self.run_command(command)

scripts/aws/entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ fi
100100
cd /app
101101

102102
# -- start operator
103+
echo "Printing configs before Java application..."
104+
cat /app/conf/config-final.json
103105
echo "Starting Java application..."
106+
104107
java \
105108
-XX:MaxRAMPercentage=95 -XX:-UseCompressedOops -XX:+PrintFlagsFinal \
106109
-Djava.security.egd=file:/dev/./urandom \

0 commit comments

Comments
 (0)