My Oracle Support Banner

Enable log4j logging with hadoop-jobs running in hadoop mode (Doc ID 1484384.1)

Last updated on SEPTEMBER 17, 2019

Applies to:

Oracle WebCenter Sites - Version 2.5.1 and later
Information in this document applies to any platform.
By default, hadoop-jobs running in normal mode does not output log messages into a log file. Instead, it gets printed into the console, and log levels cannot be changed.

Goal

 To enable hadoop-jobs to output log messages properly into a log file, please follow the steps below.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 hadoop-jobs/bin/run.sh
 
hadoop/conf/log4j.properties


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.