跳转到主内容

如何启用Trident调试和调试跟踪标志以进行更详细的日志记录

Views:
138
Visibility:
Public
Votes:
0
Category:
astra_trident
Specialty:
SNAPX
Last Updated:

适用场景

  • NetApp Astra三端 

问题描述

  • 对于与操作员一起安装的Trident、启用Trident调试需要设置2个标志:

1.为部署中的Trident Pod设置'debug' 标志

2.在特定Trident后端设置 'debugTraceFlag' 。

    如果未启用调试、您将看到大多数'level=info' 消息。  启用调试后、您将看到'level=debug' 消息。

  • 对于使用helm 安装的Trident,您需要  使用 标志--set tridentDebug=true
  • 对于Trident使用"trdentcdl install..."命令、则需要卸载Trident、然后使用-d  标志重新安装它:

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.