Haitao Yao created PIG-2916:
-------------------------------

             Summary: Add script file name for logging with log4j MDC
                 Key: PIG-2916
                 URL: https://issues.apache.org/jira/browse/PIG-2916
             Project: Pig
          Issue Type: Improvement
    Affects Versions: 0.11
            Reporter: Haitao Yao


We often execute several scripts in parallel and log the messages into one log 
file.
If got error , we can not identify which pig script is causing it. So add a MDC 
with name "pig_script_file_name" and add %X{pig_script_file_name} into log4j 
configurations, we will surely identify the errorous pig script.

the patch is attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to