Skip to content

Conversation

@ChrisKowalczyk
Copy link

As discussed in Issue 61, this change will disable moving Booth to foreground, when debug output is enabled.
We need this change to allow using debug mode in Booth instances acting as HA resources.


case 'D':
debug_level++;
enable_stderr = 1;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enable stderr should go below to the 'S' option.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well spotted, thanks

@dmuhamedagic dmuhamedagic merged commit 2adb738 into ClusterLabs:master Jul 17, 2017
@dmuhamedagic
Copy link

The stderr enable should be removed from the 'D' case, because it doesn't do any good if booth runs as a daemon.

@ChrisKowalczyk
Copy link
Author

@dmuhamedagic, do you mean to remove 'enable_stderr' from the 'S' case?

@dmuhamedagic
Copy link

dmuhamedagic commented Jul 19, 2017 via email

@ChrisKowalczyk
Copy link
Author

Thanks, you are right. I will remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants