On Sep 13, 2010, at 10:53 AM, Vinay Sajip wrote:

> 1. Did you find the logging package easy to use? If not, what were the points 
> of
> difficulty?

        Python logging is very straightforward. The only difficult part was 
creating the logging.conf file, as I find that style of configuration awkward, 
but I wanted to support standards as much as possible. So if there is a 
logging.conf file, Dabo will use it; otherwise, we use the standard Dabo 
settings.

> 2. Did you have to do anything which you thought of as a workaround due to 
> some
> limitation of the logging package?

        I wanted to create default loggers that write to files, but set them by 
default to not do anything. This should be possible by setting the default 
output file to os.devnull, but we found its behavior on Windows inconsistent, 
so I turned off file logging.

> 3. Was there anything specific that you thought of as a 
> "would-be-nice-to-have"
> regarding the functionality of the logging package?


        No, not really.


-- 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