Em Friday 23 November 2007 14:06:29 Lukasz Szybalski escreveu:
>
> Does Turbogears have or will have some kind of log rotation mechanism?
> Maybe something to borrowed from mailman and their log structure?

You can do that with the logging method.

It is just a matter of customizing your log configuration.  One example:

[[[access_out]]]
# set the filename as the first argument below
args="('/full/path/to/server.log','a',1000000,99,)"
class='RotatingFileHandler'
level='INFO'
formatter='production'


-- 
Jorge Godoy      <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to