Browse Source

doc: Fix link to log4j.properties on Github in setup_GO

pull/1452/head
Florian Zschocke 1 year ago
parent
commit
04bd2a0c3e
2 changed files with 5 additions and 2 deletions
  1. 4
    1
      build.xml
  2. 1
    1
      src/site/setup_go.mkd

+ 4
- 1
build.xml View File

@@ -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" />

+ 1
- 1
src/site/setup_go.mkd View File

@@ -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.

Loading…
Cancel
Save