> Hi, > > I tried to enable an alert that sends me an email in case of python error > The email command works if run from the command line. > Nothing is traced in the uwsgi log regarding problems to send the email > (apart from the original error I provoked to generate the situation). > My uwsgi.ini follows, please notice the last lines with the alarm setup > Is there anything other I can check to detect the problem > > Thank you, > Marco > > > [uwsgi] > > # Django related settings > # the base directory (full path) > chdir=/opt/proj > # Django's wsgi file > module=wsgi > # the virtualenv (full path) > home=/opt/env_proj > # pythonpath > pythonpath=.. > > # Process-related settings > # master > master=true > # maximum number of worker processes > processes=10 > # clear environment on exit > vacuum=True > > # Spooler settings > spooler=/tmp > spooler-chdir=/opt/proj > spooler-import=spooler.uwsgi_spooler > > # Alarm settings > alarm = mailme cmd:mail -s 'uWSGI alarm' [email protected] > log-alarm = mailme Traceback > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >
be sure your binary is compiled with pcre support (on recent uWSGI releases a warning is printed, and starting from 1.4 a report of the feature is printed after build). To be sure you config is valid (read: it is not using invalid options) add strict = true on top -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
