ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mingjiang Shi <m...@pivotal.io>
Subject Re: ambari logging
Date Tue, 21 Oct 2014 01:57:03 GMT
Hi Aaron,
I am not sure the following approach is recommended but it works.

1. Ambari-server log configuration is
located:/etc/ambari-server/conf/log4j.properties.

For example, if changing the first line to:
*log4j.rootLogger=DEBUG*
Then the log level is changed to DEBUG.

2. Amabri-agent configuration is located at:
/etc/ambari-agent/conf/ambari-agent.ini

Under the [agent] section, you will see
*loglevel=INFO*
and it could be changed to DEBUG as well.


On Tue, Oct 21, 2014 at 7:22 AM, Aaron Cody <acody@hexiscyber.com> wrote:

>  what is the reccommended way to set log level in ambari-server and
> agent? I’ve tried various log4j.properties files but so far no luck
>
>  TIA
>



-- 
Cheers
-MJ

Mime
View raw message