Mercurial > hg > mercurial
changeset 189:6077f7aef19d Eluru-6.0.x
Log hg command we run
author | Dmitry Neverov <dmitry.neverov@jetbrains.com> |
---|---|
date | Wed, 16 Mar 2011 10:26:09 +0300 |
parents | 5013242d3af7 |
children | 7d6d70d9a1cd |
files | mercurial-common/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/command/BaseCommand.java mercurial.ipr |
diffstat | 2 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial-common/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/command/BaseCommand.java Wed Mar 16 10:17:53 2011 +0300 +++ b/mercurial-common/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/command/BaseCommand.java Wed Mar 16 10:26:09 2011 +0300 @@ -20,6 +20,7 @@ import jetbrains.buildServer.ExecResult; import jetbrains.buildServer.util.StringUtil; import jetbrains.buildServer.vcs.VcsException; +import org.apache.log4j.Logger; import org.jetbrains.annotations.NotNull; import java.util.Collections; @@ -29,6 +30,9 @@ * @author pavel */ public class BaseCommand { + + private final static Logger LOG = Logger.getLogger(BaseCommand.class); + private Settings mySettings; private String myWorkDirectory; @@ -83,10 +87,12 @@ } protected ExecResult runCommand(@NotNull GeneralCommandLine cli) throws VcsException { + LOG.debug("Run command: " + cli.getCommandLineString()); return CommandUtil.runCommand(cli, getPrivateData()); } protected ExecResult runCommand(@NotNull GeneralCommandLine cli, int executionTimeout) throws VcsException { + LOG.debug("Run command: " + cli.getCommandLineString()); return CommandUtil.runCommand(cli, executionTimeout, getPrivateData()); }
--- a/mercurial.ipr Wed Mar 16 10:17:53 2011 +0300 +++ b/mercurial.ipr Wed Mar 16 10:26:09 2011 +0300 @@ -434,6 +434,7 @@ <library name="TeamCityAPI-common"> <CLASSES> <root url="jar://$TeamCityDistribution$/devPackage/common-api.jar!/" /> + <root url="jar://$TeamCityDistribution$/webapps/ROOT/WEB-INF/lib/log4j-1.2.12.jar!/" /> </CLASSES> <JAVADOC /> <SOURCES>