On 06:25 pm, jaroslaw.fedew...@gmail.com wrote: > >It would surely be nice to have a logger which flushes out, say, every >2000 messages or every few seconds, whichever comes first (it would be >a lot more filesystem efficient), suitable if you have a freaking lot >of events, you need to log them all and you are not stock broker (in >which case integrity really prevails over speed) or you have the >integrity taken care about elsewhere (say it's in a postgresql database >with good settings). > >The sad thing is that I haven't figured out how to make my own logger, >how to tell everything to use it and how to shut irrelevant server >parts up without hacks. Maybe folks refactoring the documentation will >come up with something.
http://twistedmatrix.com/documents/current/core/howto/logging.html should answer at least a couple of those questions. Jean-Paul _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python