How to find the logs


#1

Issue Summary

A summary of the issue and the browser/OS environment in which it occurs.

Technical details:

  • Redash Version:4.0
  • Browser/OS:centos6.5
  • How did you install Redash:step-by-step

Hi,after i install redash,I want to record my own logs,in redash.conf with supervisord,the config is:
[program:redash_server]
command=/opt/redash/current/bin/run gunicorn -b 127.0.0.1:5000 --name redash -w 4 --max-requests 1000 redash.wsgi:app
directory=/opt/redash/current
process_name=redash_server
user=redash
numprocs=1
autostart=true
autorestart=true
loglevel=DEBUG
stdout_logfile=/opt/redash/logs/api.log
stderr_logfile=/opt/redash/logs/api_error.log

if i run queries,i found the log " Inserting job for %s with metadata=%s " print by redash/tasks/queries.py in /opt/redash/logs/api_error.log,i want to use logging to debug my own codes in redash,after i use logging.info(***) like the method in enqueue_query ,but i cant find the logs,what shoud i do? waiting for your reply @ arikfr