Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
JAliEn
JAliEn
Commits
7ae0a77f
Commit
7ae0a77f
authored
May 03, 2021
by
Max
Browse files
Add one final log entry after job completion
parent
c0754012
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/alien/site/JobAgent.java
View file @
7ae0a77f
...
...
@@ -917,6 +917,7 @@ public class JobAgent implements Runnable {
code
=
p
.
exitValue
();
logger
.
log
(
Level
.
INFO
,
"JobWrapper has finished execution. Exit code: "
+
code
);
logger
.
log
(
Level
.
INFO
,
"All done for job "
+
queueId
+
". Final status: "
+
readWrapperStatus
());
commander
.
q_api
.
putJobLog
(
queueId
,
"trace"
,
"JobWrapper exit code: "
+
code
);
if
(
code
!=
0
)
logger
.
log
(
Level
.
WARNING
,
"Error encountered: see the JobWrapper logs in: "
+
env
.
getOrDefault
(
"TMPDIR"
,
"/tmp"
)
+
"/jalien-jobwrapper.log "
+
" for more details"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment