Re: [Zope-dev] Allowing python logging from restricted code

2005-10-11 Thread Chris Withers
Hi Jim, Jim Fulton wrote: I think you need to be very careful with this. What's the concern? I'm, at most, planning on making the getLogger function and the top level logging constants (eg: logging.INFO, etc) available... IMO, this is something that should not be turned on by default.

RE: [Zope-dev] Allowing python logging from restricted code

2005-10-11 Thread Tim McLaughlin
Sent: Tuesday, October 11, 2005 2:50 AM To: [EMAIL PROTECTED] Cc: zope-dev Subject: Re: [Zope-dev] Allowing python logging from restricted code Hi Jim, Jim Fulton wrote: I think you need to be very careful with this. What's the concern? I'm, at most, planning on making the getLogger function

Re: [Zope-dev] Allowing python logging from restricted code

2005-10-11 Thread Chris Withers
Hi Tim, Tim McLaughlin wrote: We are currently finishing up a debug_log much like the error log that Python scripts can write too. We would happily make that source available if you think it will fit the bill. I';d sure be interested in taking a look, but python's logging package is pretty

[Zope-dev] Allowing python logging from restricted code

2005-10-10 Thread Chris Withers
Hi All, Would anyone have a problem if I added the necessary security declarations to allow the python logging module to be used from restricted code? I'd like do this both for the trunk and the 2.8 branch, unless anyone has huge objections... Furthermore, I'd like to change zope.conf to

Re: [Zope-dev] Allowing python logging from restricted code

2005-10-10 Thread Jim Fulton
Chris Withers wrote: Hi All, Would anyone have a problem if I added the necessary security declarations to allow the python logging module to be used from restricted code? I'd like do this both for the trunk and the 2.8 branch, unless anyone has huge objections... I think you need to be