[ 
https://issues.apache.org/jira/browse/PIG-882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dai updated PIG-882:
---------------------------

    Attachment: duplicate_message.patch

Previous patch introduce a duplicate error message problem. The cause of the 
problem is that we set the org.apache.pig to use appender PIGCONSOLE, but do 
not change the root logger. Log4j think that root logger is using a default 
appender and org.apache.pig is using PIGCONSOLE. So the message is printed out 
twice to the default appender and PIGCONSOLE. 

> 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
>    Affects Versions: 0.3.0
>            Reporter: Thejas M Nair
>            Assignee: Daniel Dai
>             Fix For: 0.4.0
>
>         Attachments: duplicate_message.patch, PIG-882-1.patch, 
> PIG-882-2.patch, PIG-882-3.patch, PIG-882-4.patch, PIG-882-5.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