Changeset 74da24c in rtems-source-builder for source-builder/sb/log.py


Ignore:
Timestamp:
05/08/14 02:58:14 (9 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
5850ac9
Parents:
2a6acc7
git-author:
Chris Johns <chrisj@…> (05/08/14 02:58:14)
git-committer:
Chris Johns <chrisj@…> (05/08/14 03:20:29)
Message:

sb: Generate an error report on an error.

Generate an error report users can send to the mailing list with
error details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/sb/log.py

    r2a6acc7 r74da24c  
    8787        default.flush()
    8888
     89def tail(log = None):
     90    if log is not None:
     91        return log.tail
     92    if default is not None:
     93        return default.tail
     94    return 'No log output'
     95
    8996class log:
    9097    """Log output to stdout or a file."""
    91     def __init__(self, streams = None, tail_size = 100):
     98    def __init__(self, streams = None, tail_size = 200):
    9299        self.tail = []
    93100        self.tail_size = tail_size
Note: See TracChangeset for help on using the changeset viewer.