added time rotating file looking that will work with wsgi