~facundo/encuentro/trunk

« back to all changes in this revision

Viewing changes to server/srv_logger.py

  • Committer: Facundo Batista
  • Date: 2017-06-23 00:35:18 UTC
  • mto: This revision was merged to the branch mainline in revision 296.
  • Revision ID: facundo@taniquetil.com.ar-20170623003518-sv60l0eib3rjx882
Huge renewal refactor.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    """Log setup."""
30
30
    _rootlogger = logging.getLogger("")
31
31
    _rootlogger.setLevel(logging.DEBUG)
32
 
    formatter = logging.Formatter('%(asctime)s %(levelname)7s '
 
32
    formatter = logging.Formatter('%(asctime)s %(levelname)-7s '
33
33
                                  '%(name)s: %(message)s')
34
34
 
35
35
    # stdout