diff options
author | Florian Zschocke <f.zschocke+git@gmail.com> | 2022-12-17 18:02:50 +0100 |
---|---|---|
committer | Florian Zschocke <f.zschocke+git@gmail.com> | 2023-04-03 22:46:43 +0200 |
commit | 04bd2a0c3eab35dcaccf6cb2389e57393ccd858f (patch) | |
tree | 53de4999227b398e149383189549ea4cc5d08684 | |
parent | e906235f57cae059d7ac49e0f05dee43d1673715 (diff) | |
download | gitblit-04bd2a0c3eab35dcaccf6cb2389e57393ccd858f.tar.gz gitblit-04bd2a0c3eab35dcaccf6cb2389e57393ccd858f.zip |
doc: Fix link to log4j.properties on Github in setup_GO
-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.
|