On 02:34 am, penx...@cisco.com wrote: >Hi experts, > >I have a question about twisted log. > >I used “from twisted.python import log” and “log.msg(msg_str)” to store >log for my twisted program (about 40MB log message) > >But it’s efficiency is poor, it will take more time to finish my >program when the log is open, if I close the log, the program will be >more faster than before. > >What is the problem? > >What should I do?
Why are you logging 40 megabyte messages? That's not what the logging system is for. Jean-Paul _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python