Hi Kshitij,
On Wed, Apr 13, 2016 at 5:36 AM, Kshitij Shukla <[email protected]>
wrote:
> Thanks for your reply Lewis,
>
> Regarding your points:
> 1) I am already using parameterized messaging convention.
>
>From your line of Java code... you were not. You posted the following
*LOG.debug("Found keys :" + lcMetatag + "\t" + value);*
Parameterized message notation would be as follows
*LOG.debug("Found keys : {} \t {}", lcMetatag, value);*
2) I tried adding class explicitly to the log4j.properties.
>
So can you paste a snipped of your log4j.properties?
> 3) I have rebuild nutch followed by a cluster restart.
>
There is no need for a cluster restart. All you need to do is deploy the
new .job file and you should be good to go. What is always a good option,
it to make sure that stuff is working locally prior to deployment on a
cluster. You may be able to easily test and debug your code by using the
parsechecker tool.
>
> Still i am unable to see the output of this line below anywhere in console
> and logs!
> LOG.debug("Found keys");
>
You are not looking for this line of logging though right??? You are
looking for LOG.debug("Found keys : {} \t {}", lcMetatag, value);
Lewis