Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm just starting out with supervisord and got it working with uwsgi. I have the web interface running and i assume when i click on the entry and a new window opens I'm supposed to be able to see the contents of the log file but when i click on the link i just get a blank page.

I know uwsgi is outputing stuff to stdout because if i execute the command manually from the command line, uwsgi output is there on the screen.

I'm sure i'm just doing something stupid, but i can't figure out what. thanks in advance.

here is my supervisor d conf:

[unix_http_server]
file=/tmp/supervisor.sock   ; (the path to the socket file)

[inet_http_server]         ; inet (TCP) server disabled by default
port=*:9001        ; (ip_address:port specifier, *:port for all iface)


[supervisord]
logfile=/tmp/supervisord.log ; (main log file;default $CWD/supervisord.log)
logfile_maxbytes=50MB        ; (max main logfile bytes b4 rotation;default 50MB)
logfile_backups=10           ; (num of main logfile rotation backups;default 10)
loglevel=info                ; (log level;default info; others: debug,warn,trace)
pidfile=/tmp/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
nodaemon=false               ; (start in foreground if true;default false)
minfds=1024                  ; (min. avail startup file descriptors;default 1024)
minprocs=200                 ; (min. avail process descriptors;default 200)


[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

[supervisorctl]
serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL  for a unix socket

[program:app_uwsgi]
command=/path_to_uwsgi/uwsgi --ini /path_to_ini/my_uwsgi.ini
autostart=true
autorestart=true
stderr_logfile = /tmp/uwsgi_err.log
stdout_logfile = /tmp/uwsgi_out.log
stopsignal=INT
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.