You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Krishna Kishore Bonagiri <wr...@gmail.com> on 2014/02/28 19:09:43 UTC
YARN -- Debug messages in logs
Hi,
How can I get the debug log messages from RM and other daemons?
For example,
Currently I could see messages from LOG.info() only, i.e. something like
this:
LOG.info(event.getContainerId() + " Container Transitioned from " +
oldState + " to " + getState());
How can I get those from LOG.debug() ? I mean the following kind of
messages ...
LOG.debug("Processing " + event.getContainerId() + " of type " +
event.getType());
Thanks,
Kishore
Re: YARN -- Debug messages in logs
Posted by Xuan Gong <xg...@hortonworks.com>.
Hey, Kishore:
you can change the log level from INFO to DEBUG in log4j.properties
Thanks,
Xuan Gong
On Fri, Feb 28, 2014 at 10:09 AM, Krishna Kishore Bonagiri <
write2kishore@gmail.com> wrote:
> Hi,
>
> How can I get the debug log messages from RM and other daemons?
>
> For example,
>
> Currently I could see messages from LOG.info() only, i.e. something
> like this:
>
> LOG.info(event.getContainerId() + " Container Transitioned from " +
> oldState + " to " + getState());
>
> How can I get those from LOG.debug() ? I mean the following kind of
> messages ...
>
> LOG.debug("Processing " + event.getContainerId() + " of type " +
> event.getType());
>
>
> Thanks,
> Kishore
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.
Re: YARN -- Debug messages in logs
Posted by Xuan Gong <xg...@hortonworks.com>.
Hey, Kishore:
you can change the log level from INFO to DEBUG in log4j.properties
Thanks,
Xuan Gong
On Fri, Feb 28, 2014 at 10:09 AM, Krishna Kishore Bonagiri <
write2kishore@gmail.com> wrote:
> Hi,
>
> How can I get the debug log messages from RM and other daemons?
>
> For example,
>
> Currently I could see messages from LOG.info() only, i.e. something
> like this:
>
> LOG.info(event.getContainerId() + " Container Transitioned from " +
> oldState + " to " + getState());
>
> How can I get those from LOG.debug() ? I mean the following kind of
> messages ...
>
> LOG.debug("Processing " + event.getContainerId() + " of type " +
> event.getType());
>
>
> Thanks,
> Kishore
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.
Re: YARN -- Debug messages in logs
Posted by Xuan Gong <xg...@hortonworks.com>.
Hey, Kishore:
you can change the log level from INFO to DEBUG in log4j.properties
Thanks,
Xuan Gong
On Fri, Feb 28, 2014 at 10:09 AM, Krishna Kishore Bonagiri <
write2kishore@gmail.com> wrote:
> Hi,
>
> How can I get the debug log messages from RM and other daemons?
>
> For example,
>
> Currently I could see messages from LOG.info() only, i.e. something
> like this:
>
> LOG.info(event.getContainerId() + " Container Transitioned from " +
> oldState + " to " + getState());
>
> How can I get those from LOG.debug() ? I mean the following kind of
> messages ...
>
> LOG.debug("Processing " + event.getContainerId() + " of type " +
> event.getType());
>
>
> Thanks,
> Kishore
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.
Re: YARN -- Debug messages in logs
Posted by Xuan Gong <xg...@hortonworks.com>.
Hey, Kishore:
you can change the log level from INFO to DEBUG in log4j.properties
Thanks,
Xuan Gong
On Fri, Feb 28, 2014 at 10:09 AM, Krishna Kishore Bonagiri <
write2kishore@gmail.com> wrote:
> Hi,
>
> How can I get the debug log messages from RM and other daemons?
>
> For example,
>
> Currently I could see messages from LOG.info() only, i.e. something
> like this:
>
> LOG.info(event.getContainerId() + " Container Transitioned from " +
> oldState + " to " + getState());
>
> How can I get those from LOG.debug() ? I mean the following kind of
> messages ...
>
> LOG.debug("Processing " + event.getContainerId() + " of type " +
> event.getType());
>
>
> Thanks,
> Kishore
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.