On 03/03/2011 08:59 AM, neurino wrote:
Every time I easy_install a new version I find again and again default
public/index.html "Welcome to pylons" page opening / even if I removed
the file from source (who's going to put it back in place in `python
setup.py bdist_egg`???).
The right route to controller action is in routing but it's ignored
until I don't remove index.html and I have to do this e-v-e-r-y time I
install a new version.
I believe that file (public/index.html) comes from the paster template
you're using. You could stop seeing it if you used a different
template, e.g. by creating your own
<http://wiki.pylonshq.com/display/pylonscookbook/Creating%20Templates%20For%20The%20paster%20create%20Command>.
Moreover I can't get sqlalchemy to trace to log however I set log
level in production.ini.
Your current production.ini would be useful in determining the problem,
but perhaps this example will help:
[loggers]
keys = root, sqlalchemy
[handlers]
keys = file
[formatters]
keys = generic
[logger_root]
level = WARNING
handlers = file
[logger_sqlalchemy]
qualname = sqlalchemy
handlers =
level = INFO
[handler_file]
class = FileHandler
args = ('myapp.log', 'a')
formatter = generic
[formatter_generic]
format = %(asctime)s %(name)s: %(levelname)s: %(message)s
datefmt = %Y-%m-%d %H:%M:%S
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.