Logging using PQS lower than 4.6

To logging PQS, you can log using NGINX as a proxy that records the HTTP Request Body and the timing. On your Centos/RHEL machine, switch to root privileges sudo -s Add nginx.repo Install nginx packages, and you can setup a proxy yum install nginx.x86_64 -y Create the nginx configuration so you have a log_format that […]

Logging using PQS 4.7 and Higher

1 – Drop this into /tmp and chmod 755 on the file In practice, I’d probably put it in /opt/phoenix/config or /etc/hbase/phoenix 2 – Edit the queryserver.py (/opt/phoenix/bin/queryserver.py ) Around line 128 (hopefully not changed much from 4.7 to 4.8), add this ” -Dlog4j.configuration=file:///tmp/log4j.properties” + \ 3 – Restart phoenix /opt/phoenix/bin/queryserver.py stop /opt/phoenix/bin/queryserver.py start 4 […]