Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> Logging from the job


Copy link to this message
-
Re: Logging from the job
you should use the log4j rather than the apache common logging

On Tue, Apr 27, 2010 at 4:52 PM, Alexander Semenov <[EMAIL PROTECTED]> wrote:
> Hi all.
>
> I'm not sure if I'm posting to correct mail list, please, suggest the
> correct one if so.
>
> I need to log statements from the running job, e.g. use Apache commons
> logging to print debug messages on map and reduce operations. I've tuned
> the conf/log4.properties file for my logging domain but log statements
> are still missing in the log files and on the console. I start the job
> like this:
>
> hadoop jar jar_file.jar input_dir output_dir
>
> The job finishes gracefully but I see no logging.
>
> Any suggestions?
> Thanks.
>
>

--
Best Regards

Jeff Zhang