forked from Mirror/pmbootstrap
When this parameter is set, `args.logfd` (the log file descriptor) gets set to `sys.stdout`, so all logging gets directly sent to the active pmbootstrap session, and not to a log file. This will be used for Travis jobs, because they get killed after 10 minutes without any output (and builds may take longer).
This commit is contained in:
parent
6c368f8ced
commit
025d646e47
2 changed files with 17 additions and 4 deletions
|
@ -107,7 +107,12 @@ def arguments():
|
|||
" gets stored (chroots, caches, built packages)")
|
||||
|
||||
# Logging
|
||||
parser.add_argument("-l", "--log", dest="log", default=None)
|
||||
parser.add_argument("-l", "--log", dest="log", default=None,
|
||||
help="path to log file")
|
||||
parser.add_argument("--details-to-stdout", dest="details_to_stdout",
|
||||
help="print details (e.g. build output) to stdout,"
|
||||
" instead of writing to the log",
|
||||
action="store_true")
|
||||
parser.add_argument("-v", "--verbose", dest="verbose",
|
||||
action="store_true", help="write even more to the"
|
||||
" logfiles (this may reduce performance)")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue