-
-
Notifications
You must be signed in to change notification settings - Fork 268
Redirect stdout and stderr to the log only in debug mode - normally they go to /dev/null (issue 2416) #2498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…issue 2416) In "normal operation" mode stdout and stderr are redirected to /dev/null. In verbose mode stderr is /dev/null but stdout is redirected to the log. In debug modes stdout and stderr are redirected to the log. Cf. #2416
…t to /dev/null Normally stdout and stderr are redirected to /dev/null. In debug modes stdout and stderr are redirected to the log. Cf. #2416 (comment)
|
With the current changes the log file contents look good to me when I run |
|
I will also adapt the documenation according to the changed verbose mode behaviour |
|
When there are no objections until tomorrow noon |
Adapted the documenation according to the changed verbose mode behaviour cf. #2498 (comment)
Adapted the man page according to the changed verbose mode behaviour cf. #2498 (comment) and f0003c4
Adapted help workflow output according to the changed verbose mode behaviour cf. #2498 (comment)
Adapted the documenation according to the changed verbose mode behaviour cf. #2498 (comment)
|
With recent commits here I adapted the documenation according to the changed verbose mode behaviour. |
Type: Enhancement
Impact: Normal
Reference to related issue (URL):
Redirect stdout and stderr to the log only in debug modes - normally discard them to /dev/null #2416
How was this pull request tested?
I tested
rear mkrescuerear -v mkrescuerear -d mkrescuerear -D mkrescueon my homeoffice laptop and I think the content in the log is now less confusing
for the user in particular in normal modes (i.e.
rear mkrescuerear -v mkrescue).Brief description of the changes in this pull request:
Normally stdout and stderr are redirected to /dev/null.
Only in debug modes stdout and stderr are redirected to the log.
Cf. Redirect stdout and stderr to the log only in debug modes - normally discard them to /dev/null #2416 (comment)