mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-10 02:26:18 +00:00
Some logging.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1200 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
d702f0ad46
commit
86f7460bc7
1 file changed
+3
@@ -5,6 +5,8 @@ import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.util.Map;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
/**
|
||||
* External process wrapper.
|
||||
@@ -39,6 +41,7 @@ public final class Proc {
|
||||
}
|
||||
|
||||
private Proc( String name, Process proc, InputStream in, OutputStream out ) throws IOException {
|
||||
Logger.getLogger(Proc.class.getName()).log(Level.FINE, "Running: {0}", name);
|
||||
this.proc = proc;
|
||||
t1 = new Copier(name+": stdout copier", proc.getInputStream(), out);
|
||||
t1.start();
|
||||
|
||||
Reference in new issue
Block a user