pacemaker/pacemaker-log-fix.diff
Tim Serong 1589a3e7c3 - Add provides to identify support level for tickets (bnc#752241)
- Resolve coverity RESOURCE_LEAK, REVERSE_INULL and UNREACHABLE defects 

- Tools: crm_simulate - Support to grant/revoke/standby/activate
  tickets from the new ticket state section (bnc#752241)

- Tools: Add crm_ticket to be profiled by valgrind
- Tools: crm_ticket - Display the tickets that are referenced in
  rsc_ticket constraints but have never been granted yet (bnc#752241)
- Tools: crm_mon - Support to display tickets (bnc#752242)

- PE: Move the ticket state section to
  "/cib/status/tickets/ticket_state" (bnc#752241)
- PE: Support to make tickets standby for relinquishing tickets
  gracefully (bnc#752241)
- Tools: Implement a new crm_ticket (bnc#752241)
- Tools: Update CLI regression tests for the new crm_ticket
- Tools: Add CLI regression tests for ticket standby state
- PE: Update regression tests for the new ticket state section
- PE: Support to make tickets standby for relinquishing tickets
  gracefully (regression tests)

- Tools: crm_ticket - Granting/revoking tickets need user to confirm
  unless "--force" option is used (bnc#752269)

- Tools: Implement the support of granting/revoking tickets for
  crm_simulate (bnc#752241)

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=34
2012-04-23 11:15:16 +00:00

24 lines
641 B
Diff

diff --git a/tools/crm_ticket.c b/tools/crm_ticket.c
index f90ba23..51f5180 100644
--- a/tools/crm_ticket.c
+++ b/tools/crm_ticket.c
@@ -676,7 +676,8 @@ main(int argc, char **argv)
switch (flag) {
case 'V':
- crm_bump_log_level();
+ cl_log_enable_stderr(TRUE);
+ alter_debug(DEBUG_INC);
break;
case '$':
case '?':
@@ -737,7 +738,7 @@ main(int argc, char **argv)
}
if (BE_QUIET == FALSE) {
- crm_log_args(argc, argv);
+ cl_log_args(argc, argv);
}
if (optind < argc && argv[optind] != NULL) {