What is the best log rotator for Python wsgi applications ?
Posted
by
Low Kian Seong
on Server Fault
See other posts from Server Fault
or by Low Kian Seong
Published on 2011-01-07T08:57:33Z
Indexed on
2011/01/07
9:55 UTC
Read the original article
Hit count: 237
I am running a wsgi based application that has concurrent users accessing it. For my logs needs I tried logrotate but found that logrotate is not too friendly to Python applications, so I tried using RotatingFileHandler and even worse found my logs all chopped up and part of it went missing!
I am considering ConcurrentRotatingFileHandler, my question is, has anyone out there experienced the same thing and better yet do you have any battle tested solution for Python wsgi, concurrently accessed applications?
© Server Fault or respective owner