phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <els...@apache.org>
Subject Re: Log from inside UDF
Date Thu, 25 May 2017 20:05:41 GMT
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 <elserj@apache.org 
> <mailto: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