ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Review Request 39437: ZooKeeper "log4j.rootLogger" should have ROLLINGFILE instead of CONSOLE
Date Mon, 19 Oct 2015 11:55:52 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39437/
-----------------------------------------------------------

Review request for Ambari, Andrew Onischuk and Vitalyi Brodetskyi.


Bugs: AMBARI-13471
    https://issues.apache.org/jira/browse/AMBARI-13471


Repository: ambari


Description
-------

Currently ZooKeeper's root logger is INFO and CONSOLE. The problem with CONSOLE is that there
is no file limit and the zookeeper.out file can get really large. Ambari needs to change ZooKeeper's
default log4j configuration to use ROLLINGFILE instead of CONSOLE.
log4j.rootLogger=INFO, ROLLINGFILE


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog213.java 803e5f4

  ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/ZOOKEEPER/configuration/zookeeper-log4j.xml
6fcf5bc 
  ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog213Test.java
7a60b8c 

Diff: https://reviews.apache.org/r/39437/diff/


Testing
-------

Unit tests passed


Thanks,

Dmytro Sen


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message