On Aug 25, 2010, at 12:16 PM, Paul McNett wrote:

> I think (after only a minute of consideration) that you want to check the 
> dabo 
> settings first, and then fall back on the user's config file, and then 
> finally fall 
> back on default config file.
> 
> This is in the spirit of Dabo being a framework sitting at a higher level 
> than Python 
> and Python libs.


        The problem I see with this is that the settings file will have default 
logging settings in it, so even if there is no setttings_override.py present, 
there will be logging settings, so the conf files will never be used.

        Right now the final fallback is the dabo directory's logging.conf file. 
I'm proposing removing that (actually, renaming it to something like 
logging.conf.sample), so that be default there is no conf file; just the 
default settings.

        If a dev wants to alter that, they have two options: include the new 
settings in settings_override.py (if they want to tweak the default logging), 
or create an app-level logging.conf (if they either prefer conf files, or want 
to add additional logging).



-- Ed Leafe




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to