Where are the log files for Ubuntu


#1

I can not find where the redash log files are after using the Ubuntu setup script setup/ubuntu/bootstrap.sh. Using tail -f redash_server shows no logs.

I can get some logs by stopping the redash_server service, then trying to run manually:

export REDASH_ADDITIONAL_QUERY_RUNNERS=redash.query_runner.active_data
export REDASH_LOG_LEVEL=DEBUG
cd /opt/redash/current
/opt/redash/current/bin/run gunicorn -b 127.0.0.1:5000 --name redash -w 4 --max-requests 1000 redash.wsgi:app

at least I can see the startup errors, and fix them. Unfortunately, the redash user does not exist, so I can not get too far.

Should I make a redash user? Maybe I should have set the stdout_logfile in the supervisor conf file? How do I set the environment variables in the

Thank you


#2

If I’m not mistaken, the logs are at /var/logs/supervisor.


#3

/var/log/supervisor