Skip to content

Commit

Permalink
[PLAT-8243] Enable verbose logs by default on YBC
Browse files Browse the repository at this point in the history
Summary: - Set "v=1" in YBC flags

Test Plan:
- No tests
- Itests

Reviewers: kkg

Reviewed By: kkg

Subscribers: jenkins-bot, yugaware

Differential Revision: https://phabricator.dev.yugabyte.com/D24217
  • Loading branch information
kv83821-yb committed Apr 7, 2023
1 parent f6c6476 commit 6d97e62
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ public static Map<String, String> getYbcFlags(AnsibleConfigureServers.Params tas
UserIntent userIntent = universeDetails.getClusterByUuid(node.placementUuid).userIntent;
String providerUUID = userIntent.provider;
Map<String, String> ybcFlags = new TreeMap<>();
ybcFlags.put("v", Integer.toString(1));
ybcFlags.put("server_address", node.cloudInfo.private_ip);
ybcFlags.put("server_port", Integer.toString(node.ybControllerRpcPort));
ybcFlags.put("log_dir", getYbHomeDir(providerUUID) + YBC_LOG_SUBDIR);
Expand Down Expand Up @@ -331,6 +332,7 @@ public static Map<String, String> getYbcFlagsForK8s(UUID universeUUID, String no
UserIntent userIntent = universeDetails.getClusterByUuid(node.placementUuid).userIntent;
String providerUUID = userIntent.provider;
Map<String, String> ybcFlags = new TreeMap<>();
ybcFlags.put("v", Integer.toString(1));
ybcFlags.put("server_address", node.cloudInfo.private_ip);
ybcFlags.put("server_port", Integer.toString(node.ybControllerRpcPort));
ybcFlags.put("log_dir", K8S_YBC_LOG_SUBDIR);
Expand Down

0 comments on commit 6d97e62

Please sign in to comment.