diff options
-rw-r--r-- | build.xml | 5 | ||||
-rw-r--r-- | src/site/setup_go.mkd | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -72,7 +72,8 @@ <!-- Download links -->
- <property name="gc.url" value="https://github.com/${gh.org}/gitblit/releases/download/" />
+ <property name="gh.url" value="https://github.com/${gh.org}" />
+ <property name="gc.url" value="${gh.url}/gitblit/releases/download/" />
<property name="docker.url" value="https://hub.docker.com/r/gitblit/gitblit" />
<!-- Report Java version -->
@@ -643,6 +644,7 @@ <replace token="%GCURL%" value="${gc.url}${currentRelease.tag}/" />
<replace token="%DOCKERURL%" value="${docker.url}" />
+ <replace token="%GBLOG4JURL%" value="${gh.url}/${gh.repo}/blob/master/src/main/java/log4j.properties" />
<properties token="%PROPERTIES%" file="${project.distrib.dir}/data/defaults.properties" />
@@ -1111,6 +1113,7 @@ GBLT_RELEASE_TAG=${project.tag} <replace token="%GCURL%" value="${gc.url}${currentRelease.tag}/" />
<replace token="%DOCKERURL%" value="${docker.url}" />
+ <replace token="%GBLOG4JURL%" value="${gh.url}/${gh.repo}/blob/master/src/main/java/log4j.properties" />
<properties token="%PROPERTIES%" file="${project.distrib.dir}/data/defaults.properties" />
diff --git a/src/site/setup_go.mkd b/src/site/setup_go.mkd index 47c92d1d..441d025d 100644 --- a/src/site/setup_go.mkd +++ b/src/site/setup_go.mkd @@ -151,5 +151,5 @@ You can override Gitblit GO's default Log4j configuration with a command-line pa java -Dlog4j.configuration=file:///home/james/log4j.properties -cp gitblit.jar:"ext/*" com.gitblit.GitBlitServer <optional_gitblit_args>
-You can not use override the default log4j configuration *AND* specify the `--dailyLogFile` parameter. For reference, here is [Gitblit's default Log4j configuration](https://github.com/gitblit-org/gitblit/blob/master/src/log4j.properties). It includes some file appenders that are disabled by default.
+You can not use override the default log4j configuration *AND* specify the `--dailyLogFile` parameter. For reference, here is [Gitblit's default Log4j configuration](%GBLOG4JURL%). It includes some file appenders that are disabled by default.
|