Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

refactor(streaming_file): remove Debug config field#2

Merged
aronchick merged 1 commit intomainfrom
fix/remove-debug-field
Dec 17, 2025
Merged

refactor(streaming_file): remove Debug config field#2
aronchick merged 1 commit intomainfrom
fix/remove-debug-field

Conversation

@aronchick
Copy link
Copy Markdown
Owner

@aronchick aronchick commented Dec 17, 2025

Summary

  • Remove the Debug field from StreamingFileInputConfig
  • Use Bento's existing logger.level configuration instead
  • Debug logging is now controlled via Bento's standard logging configuration

Motivation

This addresses reviewer feedback on PR warpstreamlabs#514 - the component should use Bento's existing logger level mechanism rather than a component-specific debug flag.

Changes

  • Removed Debug field from config struct
  • Removed debug field from config spec
  • Removed conditional debug logging gate (logDebugf now always respects Bento's logger level)

@aronchick aronchick force-pushed the fix/remove-debug-field branch from 117d762 to ff08e65 Compare December 17, 2025 21:22
Use Bento's existing logger.level configuration instead of a
component-specific Debug flag. The logDebugf calls use Bento's logger
which already respects the configured log level.

This aligns with Bento idioms where logging verbosity is controlled
at the stream level via logger.level rather than per-component.
@aronchick aronchick force-pushed the fix/remove-debug-field branch from ff08e65 to 978bc01 Compare December 17, 2025 22:23
@aronchick aronchick marked this pull request as ready for review December 17, 2025 22:24
@aronchick aronchick merged commit 359c52c into main Dec 17, 2025
@aronchick aronchick deleted the fix/remove-debug-field branch December 17, 2025 22:24
@aronchick aronchick restored the fix/remove-debug-field branch December 17, 2025 22:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant