From 9c7a3604527ea467266ae1fbd427ea2c6f83af3d Mon Sep 17 00:00:00 2001 From: James Moger Date: Thu, 9 Feb 2012 19:56:58 -0500 Subject: [PATCH] Documented overriding default log4j configuration (issue 53) --- docs/01_setup.mkd | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/01_setup.mkd b/docs/01_setup.mkd index 1a3b9a9c..624ef53c 100644 --- a/docs/01_setup.mkd +++ b/docs/01_setup.mkd @@ -93,6 +93,14 @@ Command-Line parameters override the values in `gitblit.properties` at runtime. **Example** java -jar gitblit.jar --userService c:\myrealm.config --storePassword something + +#### Overriding Gitblit GO's Log4j Configuration + +You can override Gitblit GO's default Log4j configuration with a command-line parameter to the JVM. + + java -Dlog4j.configuration=file:///home/james/log4j.properties -jar gitblit.jar + +For reference, here is [Gitblit's default Log4j configuration](https://github.com/gitblit/gitblit/blob/master/src/log4j.properties). It includes some file appenders that are disabled by default. ## Running Gitblit behind Apache -- 2.39.5