debug log bug fix.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1189 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2006-11-19 17:59:15 +00:00
1 parent fd32c6be94
commit a80fb9de78
2 files changed
+2 -3

No files matched your search

@@ -273,7 +273,7 @@ public class ChangeLogTask extends AbstractCvsTask {
new ForkOutputStream(new RedirectingOutputStream(parser),
new LogOutputStream(this,Project.MSG_VERBOSE)));
log("["+m_dir+"] $ "+getCommand(), Project.MSG_VERBOSE);
log("Running "+getCommand()+" at "+m_dir, Project.MSG_VERBOSE);
setDest(m_dir);
setExecuteStreamHandler(handler);
+1 -2
View File
@@ -428,8 +428,7 @@ public class CVSSCM extends AbstractCVSFamilySCM {
return;
}
if(debugLogging) {
errorOutput.write(msg);
errorOutput.write('\n');
listener.getLogger().println(msg);
}
}
};