]> source.dussan.org Git - gitblit.git/commitdiff
doc: Fix link to log4j.properties on Github in setup_GO
authorFlorian Zschocke <f.zschocke+git@gmail.com>
Sat, 17 Dec 2022 17:02:50 +0000 (18:02 +0100)
committerFlorian Zschocke <f.zschocke+git@gmail.com>
Mon, 3 Apr 2023 20:46:43 +0000 (22:46 +0200)
build.xml
src/site/setup_go.mkd

index 7c219f99c4c91769f60c989837c21cbf0766a020..0b0982a8c1455af3fcba18616a4c704995c42041 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -72,7 +72,8 @@
 \r
 \r
                <!-- Download links -->\r
-               <property name="gc.url" value="https://github.com/${gh.org}/gitblit/releases/download/" />\r
+               <property name="gh.url" value="https://github.com/${gh.org}" />\r
+               <property name="gc.url" value="${gh.url}/gitblit/releases/download/" />\r
                <property name="docker.url" value="https://hub.docker.com/r/gitblit/gitblit" />\r
 \r
                <!-- Report Java version -->\r
 \r
                        <replace token="%GCURL%" value="${gc.url}${currentRelease.tag}/" />\r
                        <replace token="%DOCKERURL%" value="${docker.url}" />\r
+                       <replace token="%GBLOG4JURL%" value="${gh.url}/${gh.repo}/blob/master/src/main/java/log4j.properties" />\r
 \r
                        <properties token="%PROPERTIES%" file="${project.distrib.dir}/data/defaults.properties" />\r
 \r
@@ -1111,6 +1113,7 @@ GBLT_RELEASE_TAG=${project.tag}
 \r
                                <replace token="%GCURL%" value="${gc.url}${currentRelease.tag}/" />\r
                                <replace token="%DOCKERURL%" value="${docker.url}" />\r
+                               <replace token="%GBLOG4JURL%" value="${gh.url}/${gh.repo}/blob/master/src/main/java/log4j.properties" />\r
 \r
                                <properties token="%PROPERTIES%" file="${project.distrib.dir}/data/defaults.properties" />\r
 \r
index 47c92d1deb43989bd47db04c86ff9821c1b16432..441d025ddcb12986c7a51df6fe554e610ee225ac 100644 (file)
@@ -151,5 +151,5 @@ You can override Gitblit GO's default Log4j configuration with a command-line pa
 \r
     java -Dlog4j.configuration=file:///home/james/log4j.properties -cp gitblit.jar:"ext/*" com.gitblit.GitBlitServer <optional_gitblit_args>\r
 \r
-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. \r
+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. \r
 \r