You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/07/28 15:10:04 UTC
[jira] [Commented] (AMBARI-12564) Logging of exceptions in python
code in Ambari Agent
[ https://issues.apache.org/jira/browse/AMBARI-12564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14644347#comment-14644347 ]
Andrew Onischuk commented on AMBARI-12564:
------------------------------------------
Committed to trunk
> Logging of exceptions in python code in Ambari Agent
> ----------------------------------------------------
>
> Key: AMBARI-12564
> URL: https://issues.apache.org/jira/browse/AMBARI-12564
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.1.1
>
>
> Today if Ambari Agent python code throws the exception and the stack trace get
> rerouted to /var/log/ambari_agent/ambari_agent.out . This is not logged by our
> agent and therefore it makes it hard to RCA Ambari Agent failures, let alone
> know that Ambari Agent failed.
> I am hoping it is possible to wrap the entry code to Ambari Agent in a
> try/catch and log the error message and stack trace to the log appenders and
> only then have ambari agent throw.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)