~sambuddhabasu1/mailman/fix_mailman_run_error

« back to all changes in this revision

Viewing changes to src/mailman/core/logging.py

  • Committer: Barry Warsaw
  • Date: 2013-10-18 21:44:31 UTC
  • Revision ID: barry@list.org-20131018214431-f9t3287twcvdckmq
 * When --sort is used, watch out for continuation lines, which shouldn't get
   sorted.

 * Fix stderr output in sub-runners, and move the -e test option to -E.

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
    # sublogs.  The root logger should log to stderr.
118
118
    logging.basicConfig(format=config.logging.root.format,
119
119
                        datefmt=config.logging.root.datefmt,
120
 
                        level=as_log_level(config.logging.root.level),
121
 
                        stream=sys.stderr)
 
120
                        level=as_log_level(config.logging.root.level))
122
121
    # Create the sub-loggers.  Note that we'll redirect flufl.lock to
123
122
    # mailman.locks.
124
123
    for logger_config in config.logger_configs: