Add a new --debug-pids option.
This makes the helpers.* log functions prepend getpid() to each line, so you can see which pid did what.
This commit is contained in:
parent
135d1c161a
commit
501b534308
3 changed files with 8 additions and 2 deletions
1
vars.py
1
vars.py
|
|
@ -6,6 +6,7 @@ TARGET = os.environ.get('REDO_TARGET', '')
|
|||
DEPTH = os.environ.get('REDO_DEPTH', '')
|
||||
DEBUG = atoi.atoi(os.environ.get('REDO_DEBUG', ''))
|
||||
DEBUG_LOCKS = os.environ.get('REDO_DEBUG_LOCKS', '') and 1 or 0
|
||||
DEBUG_PIDS = os.environ.get('REDO_DEBUG_PIDS', '') and 1 or 0
|
||||
VERBOSE = os.environ.get('REDO_VERBOSE', '') and 1 or 0
|
||||
XTRACE = os.environ.get('REDO_XTRACE', '') and 1 or 0
|
||||
KEEP_GOING = os.environ.get('REDO_KEEP_GOING', '') and 1 or 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue