Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
pacemaker.23975
pacemaker-tools-trace-log-level-for-RAs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-tools-trace-log-level-for-RAs.patch of Package pacemaker.23975
commit 0a281d160ad7eebe6eeea4d9d0f920ccaa7ae9f5 Author: Keisuke MORI <kskmori@intellilink.co.jp> Date: Thu Oct 19 14:33:26 2017 +0900 Low: tools: differentiate trace log level for RAs Index: pacemaker/tools/crm_resource.c =================================================================== --- pacemaker.orig/tools/crm_resource.c +++ pacemaker/tools/crm_resource.c @@ -545,7 +545,7 @@ main(int argc, char **argv) } break; case 'V': - do_trace = TRUE; + resource_verbose++; crm_bump_log_level(argc, argv); break; case '$': Index: pacemaker/tools/crm_resource.h =================================================================== --- pacemaker.orig/tools/crm_resource.h +++ pacemaker/tools/crm_resource.h @@ -38,7 +38,7 @@ extern bool print_pending; extern bool scope_master; extern bool do_force; extern bool BE_QUIET; -extern bool do_trace; +extern int resource_verbose; extern int cib_options; extern int crmd_replies_needed; Index: pacemaker/tools/crm_resource_runtime.c =================================================================== --- pacemaker.orig/tools/crm_resource_runtime.c +++ pacemaker/tools/crm_resource_runtime.c @@ -19,7 +19,7 @@ #include <crm_resource.h> -bool do_trace = FALSE; +int resource_verbose = 0; bool do_force = FALSE; int crmd_replies_needed = 1; /* The welcome message */ @@ -1525,8 +1525,8 @@ cli_resource_execute(const char *rsc_id, } - setenv("HA_debug", do_trace ? "1" : "0", 1); - if(do_trace) { + setenv("HA_debug", resource_verbose > 0 ? "1" : "0", 1); + if(resource_verbose > 1) { setenv("OCF_TRACE_RA", "1", 1); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor