On 3/4/2011 10:29 AM, neurino wrote:
I will try but I also get log messagges with `paster serve`. Sorry, I didn't realize the problem was limited to Apache/mod_wsgi. I believe this thread contains some helpful info. Apparently the logging configuration is normally done by paster and not e.g. pylons itself. The solution then is to modify your WSGI script to do the configuration. Here's my example, which worked for me: #!/usr/bin/env python import site site.addsitedir('/home/lance/.virtualenvs/pylons_test/lib/python2.6/site-packages') import logging.config logging.config.fileConfig('/home/lance/.virtualenvs/pylons_test/src/pylons_test/development.ini') from paste.deploy import loadapp application = loadapp('config:/home/lance/.virtualenvs/pylons_test/src/pylons_test/development.ini') Lance -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en. |
- Get rid of index.html as default document for / neurino
- Re: Get rid of index.html as default document for / Lance Edgar
- Re: Get rid of index.html as default document for / neurino
- Re: Get rid of index.html as default document fo... Lance Edgar
- Re: Get rid of index.html as default documen... neurino
- Re: Get rid of index.html as default do... Lance Edgar
- Re: Get rid of index.html as defaul... Daniel Holth
- Re: Get rid of index.html as defaul... Mike Orr
- Re: Get rid of index.html as default document fo... Mike Orr
- Re: Get rid of index.html as default document for / Mike Orr
