Skip to content

Commit

Permalink
IGNITE-19175 [ducktests] Add logging support to NONE service type (ap…
Browse files Browse the repository at this point in the history
  • Loading branch information
ivandasch authored Mar 31, 2023
1 parent 38176e7 commit e260467
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,16 +131,14 @@ def config_templates(self):
"""
:return: config that service will use to start on a node
"""
if self.service.config.service_type == IgniteServiceType.NONE:
return []

config_templates = [(IgnitePathAware.IGNITE_LOG_CONFIG_NAME, IgniteLoggerConfigTemplate())]

if self.service.config.service_type == IgniteServiceType.NODE:
config_templates.append((IgnitePathAware.IGNITE_CONFIG_NAME,
IgniteClientConfigTemplate() if self.service.config.client_mode
else IgniteServerConfigTemplate()))
else:

if self.service.config.service_type == IgniteServiceType.THIN_CLIENT:
config_templates.append((IgnitePathAware.IGNITE_THIN_CLIENT_CONFIG_NAME, IgniteThinClientConfigTemplate()))

return config_templates
Expand Down

0 comments on commit e260467

Please sign in to comment.