On Wed, May 27, 2009 at 3:51 AM, durumdara durumd...@gmail.com wrote:
Hi!
I solved the problem with this config:
[loggers]
keys = root, routes, graffity
[logger_root]
handlers = console
level = NOTSET
[formatter_generic]
datefmt = %H:%M:%S
format = %(asctime)s,%(msecs)03d
Dear Mike!
Can I get some callback that starts at/before every requests where I
can log everything what I need?
I know that Pylons (or Django?) have __before__ and __after__ method
calls, but I need some other, special callback method (just like mako
filter) where I can do my logs without
Previously durumdara wrote:
Can I get some callback that starts at/before every requests where I
can log everything what I need?
Write a tiny bit of WSGI middleware?
Wichert.
--
Wichert Akkerman wich...@wiggy.netIt is simple to make things.
http://www.wiggy.net/ It is
I set up a special grooming command for my app that requires the
pylons environment to run, called refresh (so I run paster refresh
development.ini)
I'm looking for a way to run cProfile on this script. Is there a
simple way to do so?
Thanks,
Mike Lewis
On 28/05/2009, at 12:16 PM, Mike Lewis wrote:
I set up a special grooming command for my app that requires the
pylons environment to run, called refresh (so I run paster refresh
development.ini)
I'm looking for a way to run cProfile on this script. Is there a
simple way to do so?
I've
You can specify different beaker.session.type (database, memcached,
etc.), and when you do from pylons import session you'll use the
proper session type.
Is it possible to do the same for beaker.cache.type?
I'm using the cache through from pylons import cache, and then
Hi !
When my app is run under Paster i18n works fine. After i switch to
production environ (based on Apache with mod_wsgi) my Pylons messages
translated inside my app works fine but for example (my lang directive
in *.ini is set to pl) FormEncode messages is not translate.
What I should to
On May 28, 2:29 pm, Jan Koprowski jan.koprow...@gmail.com wrote:
Hi !
When my app is run under Paster i18n works fine. After i switch to
production environ (based on Apache with mod_wsgi) my Pylons messages
translated inside my app works fine but for example (my lang directive
in *.ini