-Re: Logging error messages in Pig
Raj Hadoop 2013-06-04, 15:34
I am running pig in local mode.
I modified the pig.properties file as well to include as
While starting pig in local mode - I even see the following message
org.apache.pig.Main - Logging error messages to: /u11/hmr/h22/pig/log/pig_1370359836594.log
But after quitting from pig once I execute some commands succesfully - I am not able to see the log.
Where is this log being written to?
From: Prashant Kommireddi <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Sent: Friday, May 31, 2013 1:54 PM
Subject: Re: Logging error messages in Pig
You can use "-l" option while starting up pig, or set "pig.logfile" either
in your script or pig.properties
pig -l foo.log myscript.pig
set pig.logfile foo.log -- within your script
pig.logfile=foo.log # within pig.properties
On Fri, May 31, 2013 at 6:47 AM, Raj Hadoop <[EMAIL PROTECTED]> wrote:
> How do I modify the error messages file location in Pig.
> Is there any property in "pig.properties" or "log4j.properties".