Re: [Zope-dev] A permanent log for buildouts

2008-04-15 Thread Chris Withers

Jim Fulton wrote:
configuration.  IMO, it would be enough to provide an option to name a 
logger config file as described in:


  http://docs.python.org/lib/logging-config-fileformat.html


This stuff is an annoying dead end in that it only lets you use log 
handlers defined inside the logging package...


Probably doesn't matter much here, but still annoying...

Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] A permanent log for buildouts

2008-04-14 Thread David Pratt
Hi Jim. Yes, I definitely want a logging configuration also. I'm at 
least hoping to look into the logging setup in the next couple of days 
in between some other things. Many thanks.


Regards,
David

Jim Fulton wrote:


On Apr 14, 2008, at 12:39 PM, David Pratt wrote:
Has anyone already setup a more permanent log for buildouts. I am 
wanting a more permanent record of what has happened when buildout is 
run. I believe this likely ought to be part of zc.buildout so that you 
identify a buildout.log location. Many thanks.



There isn't anything like this now.  I'd be in favor of something.  All 
that might be needed is to provide a way to specify a python logger 
configuration.  IMO, it would be enough to provide an option to name a 
logger config file as described in:


  http://docs.python.org/lib/logging-config-fileformat.html

You might be able to arrange this now using the buildout extension 
mechanism:


  http://pypi.python.org/pypi/zc.buildout#extensions

Jim

--
Jim Fulton
Zope Corporation



___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] A permanent log for buildouts

2008-04-14 Thread Jim Fulton


On Apr 14, 2008, at 12:39 PM, David Pratt wrote:
Has anyone already setup a more permanent log for buildouts. I am  
wanting a more permanent record of what has happened when buildout  
is run. I believe this likely ought to be part of zc.buildout so  
that you identify a buildout.log location. Many thanks.



There isn't anything like this now.  I'd be in favor of something.   
All that might be needed is to provide a way to specify a python  
logger configuration.  IMO, it would be enough to provide an option to  
name a logger config file as described in:


  http://docs.python.org/lib/logging-config-fileformat.html

You might be able to arrange this now using the buildout extension  
mechanism:


  http://pypi.python.org/pypi/zc.buildout#extensions

Jim

--
Jim Fulton
Zope Corporation


___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )