Re: [Zope-dev] zLOG module deprecated

2006-01-09 Thread Dieter Maurer
Andreas Jung wrote at 2006-1-8 22:14 +0100:
 ...
 If you deprecate zLOG could you please instruct the python logger
 to output Zope style tracebacks?

   Zope style tracebacks are much more informative than the stupid
   Python ones.


 As this is probably difficult without Monkey patching,
 I would prefer to have a Zope specific interface for logging purposes.


We'll have to check that. Support in terms of patches are welcome :-)

The Zope specific interface for logging purposes is already there:

  You just want to deprecate and remove it.


-- 
Dieter
___
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] zLOG module deprecated

2006-01-09 Thread Andreas Jung



--On 9. Januar 2006 20:06:09 +0100 Dieter Maurer [EMAIL PROTECTED]  
We'll have to check that. Support in terms of patches are welcome :-)


The Zope specific interface for logging purposes is already there:

  You just want to deprecate and remove it.


_We_ want to _cleanup_ things. The current zLOG fascade does not provide
any extra formatting code. So we are not giving anything away. The focus of 
Zope 2.10 is definitely on getting rid of old and redundant code, culprits 
etc. So old stuff will be deprecated and replaced code from Zope 3 where 
appliciable.


-aj



pgplmVIGLuiYo.pgp
Description: PGP signature
___
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] zLOG module deprecated

2006-01-08 Thread Dieter Maurer
Andreas Jung wrote at 2006-1-8 11:44 +0100:
the zLOG module will be offically deprecated in Zope 2.10 (removed in Zope 
2.12). New code _must_ use the 'logging' module of Python. And please help
to replace all outstanding code that uses the zLOG module on the _trunk_
(which is a fun job :-|).

If you deprecate zLOG could you please instruct the python logger
to output Zope style tracebacks?

  Zope style tracebacks are much more informative than the stupid
  Python ones.


As this is probably difficult without Monkey patching,
I would prefer to have a Zope specific interface for logging purposes.


-- 
Dieter
___
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] zLOG module deprecated

2006-01-08 Thread Andreas Jung



--On 8. Januar 2006 20:58:19 +0100 Dieter Maurer [EMAIL PROTECTED] 
wrote:



Andreas Jung wrote at 2006-1-8 11:44 +0100:

the zLOG module will be offically deprecated in Zope 2.10 (removed in
Zope  2.12). New code _must_ use the 'logging' module of Python. And
please help to replace all outstanding code that uses the zLOG module on
the _trunk_ (which is a fun job :-|).


If you deprecate zLOG could you please instruct the python logger
to output Zope style tracebacks?

  Zope style tracebacks are much more informative than the stupid
  Python ones.


As this is probably difficult without Monkey patching,
I would prefer to have a Zope specific interface for logging purposes.



We'll have to check that. Support in terms of patches are welcome :-)

-aj

pgpBosj5wONNz.pgp
Description: PGP signature
___
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 )