diff options
author | James Moger <james.moger@gitblit.com> | 2012-02-09 19:56:58 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2012-02-09 19:56:58 -0500 |
commit | 9c7a3604527ea467266ae1fbd427ea2c6f83af3d (patch) | |
tree | d62beff07393f82732b63d239c741b11b433b30e /docs/01_setup.mkd | |
parent | d1f12af94b21a04c3cf96caf1ab83c4bdf552236 (diff) | |
download | gitblit-9c7a3604527ea467266ae1fbd427ea2c6f83af3d.tar.gz gitblit-9c7a3604527ea467266ae1fbd427ea2c6f83af3d.zip |
Documented overriding default log4j configuration (issue 53)
Diffstat (limited to 'docs/01_setup.mkd')
-rw-r--r-- | docs/01_setup.mkd | 8 |
1 files changed, 8 insertions, 0 deletions
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 <optional_gitblit_args>
+
+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
|