| Package | Description |
|---|---|
| com.huaweicloud.sdk.aom.v2.model |
| Modifier and Type | Method and Description |
|---|---|
LogPathRule |
LogPathRule.addArgsItem(String argsItem) |
LogPathRule |
LogPathRule.addValueItem(String valueItem) |
LogPathRule |
LogPathRule.withArgs(java.util.function.Consumer<List<String>> argsSetter) |
LogPathRule |
LogPathRule.withArgs(List<String> args) |
LogPathRule |
LogPathRule.withNameType(String nameType) |
LogPathRule |
LogPathRule.withValue(java.util.function.Consumer<List<String>> valueSetter) |
LogPathRule |
LogPathRule.withValue(List<String> value) |
| Modifier and Type | Method and Description |
|---|---|
List<LogPathRule> |
AppRulesSpec.getLogPathRule()
日志路径配置规则。 当cmdLineHash为固定字符串时,指定日志路径或者日志文件。否则只采集进程当前打开的以.log和.trace结尾的文件。nameType取值cmdLineHash时,args格式为[\"00001\"],value格式为[\"/xxx/xx.log\"],表示当启动命令是00001时,日志路径为/xxx/xx.log。
|
| Modifier and Type | Method and Description |
|---|---|
AppRulesSpec |
AppRulesSpec.addLogPathRuleItem(LogPathRule logPathRuleItem) |
| Modifier and Type | Method and Description |
|---|---|
void |
AppRulesSpec.setLogPathRule(List<LogPathRule> logPathRule) |
AppRulesSpec |
AppRulesSpec.withLogPathRule(java.util.function.Consumer<List<LogPathRule>> logPathRuleSetter) |
AppRulesSpec |
AppRulesSpec.withLogPathRule(List<LogPathRule> logPathRule) |
Copyright © 2022. All rights reserved.