Skip to content

Commit

Permalink
tests: reduce logging in random_node_operations_test
Browse files Browse the repository at this point in the history
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 <michal@redpanda.com>
  • Loading branch information
mmaslankaprv committed Dec 11, 2024
1 parent bedd51b commit 848a3ff
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/rptest/tests/random_node_operations_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 = []
Expand Down

0 comments on commit 848a3ff

Please sign in to comment.