forked from TrueCloudLab/frostfs-testlib
Added logger config path attribute to NodeBase class
Signed-off-by: Dmitry Anurin <d.anurin@yadro.com>
This commit is contained in:
parent
ae566b413b
commit
247d2fbab7
2 changed files with 9 additions and 0 deletions
|
@ -120,6 +120,14 @@ class NodeBase(HumanReadableABC):
|
|||
ConfigAttributes.WALLET_CONFIG,
|
||||
)
|
||||
|
||||
def get_logger_config_path(self) -> str:
|
||||
"""
|
||||
Returns config path for logger located on remote host
|
||||
"""
|
||||
config_attributes = self.host.get_service_config(self.name)
|
||||
return self._get_attribute(
|
||||
ConfigAttributes.LOGGER_CONFIG_PATH) if ConfigAttributes.LOGGER_CONFIG_PATH in config_attributes.attributes else None
|
||||
|
||||
@property
|
||||
def config_dir(self) -> str:
|
||||
return self._get_attribute(ConfigAttributes.CONFIG_DIR)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue