You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Aaron Cody <ac...@hexiscyber.com> on 2014/10/21 01:22:06 UTC

ambari logging

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

Re: ambari logging

Posted by Mingjiang Shi <ms...@pivotal.io>.
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 <ac...@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