From 848a3ffaa432b42d74b82ef55819a97c29df4b39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ma=C5=9Blanka?= Date: Wed, 11 Dec 2024 15:35:36 +0100 Subject: [PATCH] tests: reduce logging in random_node_operations_test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Random node operations tests logs can grow into multiple gigabytes. Reduced the logging level to make the test logs easier to handle. Signed-off-by: Michał Maślanka --- tests/rptest/tests/random_node_operations_test.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/rptest/tests/random_node_operations_test.py b/tests/rptest/tests/random_node_operations_test.py index e9a8c3b4ba32..b59526912bec 100644 --- a/tests/rptest/tests/random_node_operations_test.py +++ b/tests/rptest/tests/random_node_operations_test.py @@ -23,7 +23,7 @@ from rptest.clients.types import TopicSpec from rptest.clients.default import DefaultClient from rptest.services.kgo_verifier_services import KgoVerifierConsumerGroupConsumer, KgoVerifierProducer -from rptest.services.redpanda import CHAOS_LOG_ALLOW_LIST, PREV_VERSION_LOG_ALLOW_LIST, CloudStorageType, PandaproxyConfig, SISettings, SchemaRegistryConfig +from rptest.services.redpanda import CHAOS_LOG_ALLOW_LIST, PREV_VERSION_LOG_ALLOW_LIST, CloudStorageType, LoggingConfig, PandaproxyConfig, SISettings, SchemaRegistryConfig from rptest.services.redpanda_installer import RedpandaInstaller from rptest.utils.mode_checks import cleanup_on_early_exit, skip_debug_mode, skip_fips_mode from rptest.utils.node_operations import FailureInjectorBackgroundThread, NodeOpsExecutor, generate_random_workload @@ -62,6 +62,14 @@ def __init__(self, test_context, *args, **kwargs): node_prealloc_count=3, schema_registry_config=SchemaRegistryConfig(), pandaproxy_config=PandaproxyConfig(), + log_config=LoggingConfig( + 'info', { + 'storage-resources': 'warn', + 'storage-gc': 'warn', + 'raft': 'debug', + 'cluster': 'debug', + 'datalake': 'debug', + }), *args, **kwargs) self.nodes_with_prev_version = []