kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gwens...@apache.org
Subject kafka git commit: KAFKA-2633; Default logging from tools to Stderr
Date Mon, 12 Oct 2015 17:00:11 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk bd98a99c1 -> fe4818e09


KAFKA-2633; Default logging from tools to Stderr

Author: Grant Henke <granthenke@gmail.com>

Reviewers: Gwen Shapira

Closes #296 from granthenke/tools-log4j


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/fe4818e0
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/fe4818e0
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/fe4818e0

Branch: refs/heads/trunk
Commit: fe4818e0944a9146059b02fde3fea4cc15676bf6
Parents: bd98a99
Author: Grant Henke <granthenke@gmail.com>
Authored: Mon Oct 12 10:00:05 2015 -0700
Committer: Gwen Shapira <cshapi@gmail.com>
Committed: Mon Oct 12 10:00:05 2015 -0700

----------------------------------------------------------------------
 config/tools-log4j.properties | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/fe4818e0/config/tools-log4j.properties
----------------------------------------------------------------------
diff --git a/config/tools-log4j.properties b/config/tools-log4j.properties
index 52f07c9..b19e343 100644
--- a/config/tools-log4j.properties
+++ b/config/tools-log4j.properties
@@ -13,8 +13,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-log4j.rootLogger=WARN, stdout 
+log4j.rootLogger=WARN, stderr
 
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern=[%d] %p %m (%c)%n
+log4j.appender.stderr=org.apache.log4j.ConsoleAppender
+log4j.appender.stderr.layout=org.apache.log4j.PatternLayout
+log4j.appender.stderr.layout.ConversionPattern=[%d] %p %m (%c)%n
+log4j.appender.stderr.Target=System.err


Mime
View raw message