[pylons-discuss] logging confusion

2014-10-10 Thread Jonathan Vanasco
I'm having two issues with logging on production. Hoping someone can point out my mistake First- My production.ini has the root logger set to WARNING [logger_root] level = WARNING handlers = console One (unconfigured) package would often end up logging at the DEBUG level with this

[pylons-discuss] Re: place views and add_route nearby but in different module

2014-10-10 Thread Jonathan Vanasco
I recommend that you don't do this. It sounds convenient now, but as your project or package matures, you will end up creating an unmaintainable mess. The big benefit of having declaring all the routes together, is that you have a single chunk of code that maps every single route -- and lets yo

[pylons-discuss] Re: place views and add_route nearby but in different module

2014-10-10 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/08/2014 05:09 AM, Ivan Sergio Borgonovo wrote: > On 10/08/2014 10:06 AM, tonthon wrote: >> Hi, > >> A module's includeme function is called when the module is included >> using config.include: >> >> See >> http://docs.pylonsproject.org/docs/p

[pylons-discuss] pyramid_layout and configure.zcml

2014-10-10 Thread Andrey Skobeldin
Hello! I'm trying to use pyramid_layout package for declarative configuration of my app. I would like to configure it only in configure.zcml file. Here it is: http://pylonshq.com/pyramid"; xmlns:lat="http://pylonshq.com/pyramid_layout";> When