The log4j.properties which you have configured to be on the HBase RegionServer classpath. I don't know how you configured your system.

On 5/25/17 2:02 PM, Cheyenne Forbes wrote:
Which one of the files? I found 4

//usr/local/hbase-1.2.5/conf/log4j.properties
/usr/local/apache-phoenix-4.10.0-HBase-1.2-bin/bin/log4j.properties
/usr/local/apache-phoenix-4.10.0-HBase-1.2-bin/bin/sandbox-log4j.properties
/usr/local/apache-phoenix-4.10.0-HBase-1.2-bin/bin/config/log4j.properties/

Regards,

Cheyenne O. Forbes

On Thu, May 25, 2017 at 11:31 AM, Josh Elser <els...@apache.org <mailto:els...@apache.org>> wrote:

    Verify HBase's log4j.properties configuration is set to print log
    messages for your class at info (check rootLogger level, log
    threshold, and logger class/package level).

    On 5/24/17 11:02 AM, Cheyenne Forbes wrote:

        I want to output the steps of execution of my UDF but I cant
        find the logs, I searched the region log in //usr/local/hbase/logs//
        ....
        /public static final Log LOG = LogFactory.getLog(MyUDF.class);/
        ....
        /    public boolean evaluate(Tuple tuple, ImmutableBytesWritable
        ptr) {
                  LOG.info("UDF execution started");/
        ....

        Regards,
        Cheyenne O. Forbes


Reply via email to