phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cheyenne Forbes <cheyenne.osanu.for...@gmail.com>
Subject Re: Log from inside UDF
Date Thu, 25 May 2017 18:02:18 GMT
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 <elserj@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
>>
>

Mime
View raw message