You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Santhosh Srinivasan (JIRA)" <ji...@apache.org> on 2009/07/29 01:13:14 UTC
[jira] Commented: (PIG-882) log level not propogated to loggers
[ https://issues.apache.org/jira/browse/PIG-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736359#action_12736359 ]
Santhosh Srinivasan commented on PIG-882:
-----------------------------------------
Minor comment:
Index: src/org/apache/pig/Main.java
===================================================================
Instead of printing the warning message to stdout, it should be printed to stderr.
{code}
+ catch (IOException e)
+ {
+ System.out.println("Warn: Cannot open log4j properties file, use default");
+ }
{code}
The rest of the patch looks fine.
> 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 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.