[tor-commits] [collector/master] Added example for changing the logging configuration.

karsten at torproject.org karsten at torproject.org
Thu Aug 11 18:06:57 UTC 2016


commit ae785f0a3663118991dba06ace80124f5e1bbe9f
Author: iwakeh <iwakeh at torproject.org>
Date:   Thu Aug 11 14:06:58 2016 +0200

    Added example for changing the logging configuration.
---
 INSTALL.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/INSTALL.md b/INSTALL.md
index e941759..1b0920e 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -74,3 +74,17 @@ to watch out for WARNING level and especially ERROR level log statements.
 These often will point to problems you can do something about, e.g. a full disk
 or missing file system permissions.
 
+Logging Configuration
+---------------------
+
+Some hints for those who are familiar with Logback:
+
+If you want to use your own logging configuration for Logback you can simply
+create your own logback.xml or logback.groovy and start CollecTor in the
+following way:
+
+java -cp /folder/with/logback:collector-1.0.0.jar org.torproject.collector.Main
+ </place/of/collector.properties>
+
+The default configuration can be found in the tar-ball you downloaded, in
+the subdirectory collector-1.0.0/src/main/resources.
\ No newline at end of file





More information about the tor-commits mailing list