[ 
https://issues.apache.org/jira/browse/PIG-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736365#action_12736365
 ] 

Daniel Dai commented on PIG-882:
--------------------------------

Some comments about how to use debug level:
1. conf/log4j.properties is not used by default, if you want to use it, you 
need explicitly say: -4 conf/log4j.properties
2. -d DEBUG and -b works as desired
3. Only log level will propogate to backend, all logs appear in hadoop syslog, 
no matter what you put into log4j.properties. Hadoop have its own mechanism for 
all backend logging, Pig only override log level for Pig logs.

> log level not propogated to loggers 
> ------------------------------------
>
>                 Key: PIG-882
>                 URL: https://issues.apache.org/jira/browse/PIG-882
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>            Reporter: Thejas M Nair
>         Attachments: PIG-882-1.patch, PIG-882-2.patch, PIG-882-3.patch
>
>
> Pig accepts log level as a parameter. But the log level it captures is not 
> set appropriately, so that loggers in different classes log at the specified 
> level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to