Repository: karaf-decanter
Updated Branches:
  refs/heads/master 9b005e867 -> 28a1f8e3e


Add a note about appender in the log collector documentation


Project: http://git-wip-us.apache.org/repos/asf/karaf-decanter/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf-decanter/commit/28a1f8e3
Tree: http://git-wip-us.apache.org/repos/asf/karaf-decanter/tree/28a1f8e3
Diff: http://git-wip-us.apache.org/repos/asf/karaf-decanter/diff/28a1f8e3

Branch: refs/heads/master
Commit: 28a1f8e3e6effdcc9a59ac3dfa2ab43ee5517b49
Parents: 9b005e8
Author: Jean-Baptiste Onofré <[email protected]>
Authored: Tue Mar 22 19:23:54 2016 +0100
Committer: Jean-Baptiste Onofré <[email protected]>
Committed: Tue Mar 22 19:23:54 2016 +0100

----------------------------------------------------------------------
 .../main/asciidoc/user-guide/collectors.adoc    | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/28a1f8e3/manual/src/main/asciidoc/user-guide/collectors.adoc
----------------------------------------------------------------------
diff --git a/manual/src/main/asciidoc/user-guide/collectors.adoc 
b/manual/src/main/asciidoc/user-guide/collectors.adoc
index 7235b57..434fadb 100644
--- a/manual/src/main/asciidoc/user-guide/collectors.adoc
+++ b/manual/src/main/asciidoc/user-guide/collectors.adoc
@@ -35,6 +35,26 @@ karaf@root()> feature:install decanter-collector-log
 
 The log collector doesn't need any configuration, the installation of the 
decanter-collector-log feature is enough.
 
+[NOTE]
+=====================================================================
+The Decanter log collector is using `osgi:DecanterLogCollectorAppender` 
appender.
+In order to work, your Apache Karaf Pax Logging configuration should contain 
this appender.
+
+The default Apache Karaf `etc/org.ops4j.pax.logging.cfg` configuration file is 
already fine:
+
+----
+log4j.rootLogger = DEBUG, out, osgi:*
+----
+
+If you want, you can explicitly specify the `DecanterLogCollectorAppender` 
appender:
+
+----
+log4j.rootLogger = DEBUG, out, osgi:DecanterLogCollectorAppender, 
osgi:VmLogAppender
+----
+
+=====================================================================
+
+
 ==== Log Socket
 
 The Decanter Log Socket Collector is an event driven collector. It creates a 
socket, waiting for incoming event. The expected

Reply via email to