ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez" <afernan...@hortonworks.com>
Subject Re: Review Request 32580: Add a Log Appender for Alert State Change Events
Date Fri, 27 Mar 2015 17:51:45 GMT

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

Ship it!


Ship It!


ambari-server/conf/unix/log4j.properties
<https://reviews.apache.org/r/32580/#comment126498>

    Should we document this new change in the next release?


- Alejandro Fernandez


On March 27, 2015, 5:32 p.m., Jonathan Hurley wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/32580/
> -----------------------------------------------------------
> 
> (Updated March 27, 2015, 5:32 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez and Nate Cole.
> 
> 
> Bugs: AMBARI-10249
>     https://issues.apache.org/jira/browse/AMBARI-10249
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Add a logger so that alert state changes are captured to a persistent file on disk.
> 
> Output is similar to:
> ```
>    [CRITICAL] [HDFS] [namenode_hdfs_blocks_health] (NameNode Blocks Health) Total Blocks:[100],
Missing Blocks:[6]
> ```
> 
> 
> Diffs
> -----
> 
>   ambari-server/conf/log4j.properties a1818ce 
>   ambari-server/conf/unix/log4j.properties 294dd67 
>   ambari-server/conf/windows/log4j.properties e0c602d 
>   ambari-server/src/main/conf/log4j.properties deb9dd9 
>   ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertStateChangedListener.java
d84c449 
> 
> Diff: https://reviews.apache.org/r/32580/diff/
> 
> 
> Testing
> -------
> 
> Built RPM to ensure removing an old log4j.properties won't hurt anything. Verified the
log statements.
> 
> 
> Thanks,
> 
> Jonathan Hurley
> 
>


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