Add Task ID to MDC

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/commit/06d2ae3e
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/tree/06d2ae3e
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/diff/06d2ae3e

Branch: refs/heads/master
Commit: 06d2ae3ee23d2a6500f1c20dcc85e0bcbb937c2c
Parents: 217d592
Author: Geoff Macartney <geoff.macart...@cloudsoftcorp.com>
Authored: Fri Feb 2 17:53:36 2018 +0000
Committer: Geoff Macartney <geoff.macart...@cloudsoftcorp.com>
Committed: Fri Feb 2 17:53:36 2018 +0000

----------------------------------------------------------------------
 .../src/main/resources/etc/org.ops4j.pax.logging.cfg               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/06d2ae3e/karaf/apache-brooklyn/src/main/resources/etc/org.ops4j.pax.logging.cfg
----------------------------------------------------------------------
diff --git 
a/karaf/apache-brooklyn/src/main/resources/etc/org.ops4j.pax.logging.cfg 
b/karaf/apache-brooklyn/src/main/resources/etc/org.ops4j.pax.logging.cfg
index 1002db6..cc78a84 100644
--- a/karaf/apache-brooklyn/src/main/resources/etc/org.ops4j.pax.logging.cfg
+++ b/karaf/apache-brooklyn/src/main/resources/etc/org.ops4j.pax.logging.cfg
@@ -18,7 +18,7 @@
 
################################################################################
 
 # Common pattern layout for appenders
-log4j2.pattern = %d{ISO8601} %X{entity.ids} %-5.5p %3X{bundle.id} %c{1.} 
[%.16t] %m%n
+log4j2.pattern = %d{ISO8601} %X{task.id}@%X{entity.ids} %-5.5p %3X{bundle.id} 
%c{1.} [%.16t] %m%n
 
 ###############
 # Root logger #

Reply via email to