[ https://issues.apache.org/jira/browse/BEAM-7923?focusedWorklogId=406476&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-406476 ]
ASF GitHub Bot logged work on BEAM-7923: ---------------------------------------- Author: ASF GitHub Bot Created on: 19/Mar/20 18:25 Start Date: 19/Mar/20 18:25 Worklog Time Spent: 10m Work Description: pabloem commented on pull request #11166: [BEAM-7923] Emit info when capture control options are configured. URL: https://github.com/apache/beam/pull/11166#discussion_r395231200 ########## File path: sdks/python/apache_beam/runners/interactive/interactive_beam.py ########## @@ -64,11 +67,33 @@ def enable_capture_replay(self, value): and pipeline runs always use the same data captured; False - Disables capture of replayable source data so that following PCollection evaluation and pipeline runs always use new data from sources.""" + # This makes sure the log handler is configured correctly in case the + # options are configured in an early stage. + _ = ie.current_env() + if value: + _LOGGER.info( + 'Capture replay is enabled. When a PCollection is evaluated or the ' + 'pipeline is executed, existing data captured from previous ' + 'computations will be replayed for replayability. If no capture is ' + 'available, new data from capturable sources will be captured.') + else: + _LOGGER.info( + 'You have disabled capture replay. The next time a PCollection is ' + 'evaluated or the pipeline is executed, new data will always be ' + 'captured from capturable sources. You will not have replayability ' Review comment: ```suggestion 'consumed from sources in the pipeline. You will not have replayability ' ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 406476) > Interactive Beam > ---------------- > > Key: BEAM-7923 > URL: https://issues.apache.org/jira/browse/BEAM-7923 > Project: Beam > Issue Type: New Feature > Components: runner-py-interactive > Reporter: Ning Kang > Assignee: Ning Kang > Priority: Major > Time Spent: 6h 40m > Remaining Estimate: 0h > > This is the top level ticket for all efforts leveraging [interactive > Beam|[https://github.com/apache/beam/tree/master/sdks/python/apache_beam/runners/interactive]] > As the development goes, blocking tickets will be added to this one. > > -- This message was sent by Atlassian Jira (v8.3.4#803005)