2012/3/15 Peng Xiao -X (penxiao - Digital China at Cisco) <penx...@cisco.com >
> 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?**** > > ** ** > > ** ** > > Best**** > > Regards,**** > > **** > > Xiao Peng(肖鹏)**** > > Cisco Systems**** > > GSP-Beijing (China)**** > > Office: +86 10 8507 7181**** > > Mobile: +86 18600560077(preferred)**** > > ** ** > > _______________________________________________ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > > Hi...If you log chunks data at once,, it definitely will chock your reactor. I suggest split your data and log by using cooperate. Regards gelin yan
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python