Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GitWrapper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Georg Seibt
GitWrapper
Commits
76bba948
Commit
76bba948
authored
8 years ago
by
Georg Seibt
Browse files
Options
Downloads
Patches
Plain Diff
log command output on finest, log whether they returned output on fine
parent
a8e593d4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/de/uni_passau/fim/seibt/gitwrapper/process/ProcessExecutor.java
+4
-2
4 additions, 2 deletions
..._passau/fim/seibt/gitwrapper/process/ProcessExecutor.java
with
4 additions
and
2 deletions
src/de/uni_passau/fim/seibt/gitwrapper/process/ProcessExecutor.java
+
4
−
2
View file @
76bba948
...
...
@@ -94,13 +94,15 @@ public class ProcessExecutor {
if
(
res
.
stdOut
.
isEmpty
())
{
LOG
.
fine
(()
->
String
.
format
(
"Execution of '%s' returned no standard output."
,
cmd
));
}
else
{
LOG
.
finest
(()
->
String
.
format
(
"Execution of '%s' returned standard output:%n%s"
,
cmd
,
res
.
stdOut
));
LOG
.
fine
(()
->
String
.
format
(
"Execution of '%s' returned standard output."
,
cmd
));
LOG
.
finest
(()
->
String
.
format
(
"Standard output of '%s' was:%n%s"
,
cmd
,
res
.
stdOut
));
}
if
(
res
.
stdErr
.
isEmpty
())
{
LOG
.
fine
(()
->
String
.
format
(
"Execution of '%s' returned no standard error output."
,
cmd
));
}
else
{
LOG
.
finest
(()
->
String
.
format
(
"Execution of '%s' returned standard error output:%n%s"
,
cmd
,
res
.
stdErr
));
LOG
.
fine
(()
->
String
.
format
(
"Execution of '%s' returned standard error output."
,
cmd
));
LOG
.
finest
(()
->
String
.
format
(
"Standard output of '%s' was:%n%s"
,
cmd
,
res
.
stdErr
));
}
return
Optional
.
of
(
res
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment