Skip to content

Commit 04bd2a0

Browse files
committed
doc: Fix link to log4j.properties on Github in setup_GO
1 parent e906235 commit 04bd2a0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

build.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@
7272

7373

7474
<!-- Download links -->
75-
<property name="gc.url" value="https://github.com/${gh.org}/gitblit/releases/download/" />
75+
<property name="gh.url" value="https://github.com/${gh.org}" />
76+
<property name="gc.url" value="${gh.url}/gitblit/releases/download/" />
7677
<property name="docker.url" value="https://hub.docker.com/r/gitblit/gitblit" />
7778

7879
<!-- Report Java version -->
@@ -643,6 +644,7 @@
643644

644645
<replace token="%GCURL%" value="${gc.url}${currentRelease.tag}/" />
645646
<replace token="%DOCKERURL%" value="${docker.url}" />
647+
<replace token="%GBLOG4JURL%" value="${gh.url}/${gh.repo}/blob/master/src/main/java/log4j.properties" />
646648

647649
<properties token="%PROPERTIES%" file="${project.distrib.dir}/data/defaults.properties" />
648650

@@ -1111,6 +1113,7 @@ GBLT_RELEASE_TAG=${project.tag}
11111113

11121114
<replace token="%GCURL%" value="${gc.url}${currentRelease.tag}/" />
11131115
<replace token="%DOCKERURL%" value="${docker.url}" />
1116+
<replace token="%GBLOG4JURL%" value="${gh.url}/${gh.repo}/blob/master/src/main/java/log4j.properties" />
11141117

11151118
<properties token="%PROPERTIES%" file="${project.distrib.dir}/data/defaults.properties" />
11161119

src/site/setup_go.mkd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,5 +151,5 @@ You can override Gitblit GO's default Log4j configuration with a command-line pa
151151

152152
java -Dlog4j.configuration=file:///home/james/log4j.properties -cp gitblit.jar:"ext/*" com.gitblit.GitBlitServer <optional_gitblit_args>
153153

154-
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.
154+
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.
155155

0 commit comments

Comments
 (0)