Projet

Général

Profil

« Précédent | Suivant » 

Révision d33bb414

Ajouté par Jérôme Schneider il y a environ 12 ans

Fix #1265: manage log rotation

  • mandaye/config.py: add rotation options * mandaye/log.py: use TimedRotatingFileHandler * mandaye_server.py: cosmetic

Voir les différences:

mandaye_server.py
22 22
    """ The ``gunicorn`` command line runner for launcing Gunicorn with
23 23
    generic WSGI applications.
24 24
    """
25
    logger.info('Launching Mandaye ...')
25
    logger.info('Mandaye start')
26 26
    WSGIApplication("%prog [OPTIONS]").run()
27 27

  
28 28
if __name__ == "__main__":

Formats disponibles : Unified diff