[
https://issues.apache.org/jira/browse/TEZ-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14226952#comment-14226952
]
Siddharth Seth edited comment on TEZ-1775 at 11/26/14 10:58 PM:
----------------------------------------------------------------
WIP patch.
This allows the following usage pattern.
tez.am|task.log.level can now be specified as
{code}
DEBUG;org.apache.hadoop.ipc=INFO;org.apache.hadoop.security=INFO
{code}
General log level is DEBUG. hadoop.ipc, hadoop.security set to INFO level.
I'm planning to add a new parameter TEZ_TASK_SPECIFIC_LOG_LEVEL - which will
allow setting this up at a task level.
This could be done without affecting re-use - by completely re-initializing
runtime config, but that can be a follow up jira.
[~hitesh], [~rajesh.balamohan] - mind taking a look. Any thoughts on the
approach, or making this easier to use ?
was (Author: sseth):
WIP patch.
This allows the following usage pattern.
tez.am|task.log.level can now be specified as
DEBUG;org.apache.hadoop.ipc=INFO;org.apache.hadoop.security=INFO
General log level is DEBUG. hadoop.ipc, hadoop.security set to INFO level.
I'm planning to add a new parameter TEZ_TASK_SPECIFIC_LOG_LEVEL - which will
allow setting this up at a task level.
This could be done without affecting re-use - by completely re-initializing
runtime config, but that can be a follow up jira.
[~hitesh], [~rajesh.balamohan] - mind taking a look. Any thoughts on the
approach, or making this easier to use ?
> Simpler task / AM logger configuration
> --------------------------------------
>
> Key: TEZ-1775
> URL: https://issues.apache.org/jira/browse/TEZ-1775
> Project: Apache Tez
> Issue Type: Improvement
> Reporter: Siddharth Seth
> Attachments: TEZ-1775.1.wip.txt
>
>
> Currently, it's fairly difficult to configure logging beyond a generic log
> level. It'll be useful to have some control over which components need to be
> logged at a level / should be avoided. The IPC layer, for example, generates
> a lot of (multi-line) noise - which isn't useful when looking for Tez logs
> only.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)