Ox0400 commented on issue #35013: URL: https://github.com/apache/beam/issues/35013#issuecomment-2911278512
> I see. Is this possible to always change the logging level to info like > > ``` > with open(python_file_path, 'r') as f: > original_content = f.read() > > logging_setup_code = ( > "import logging\n" > "logging.basicConfig(level=logging.INFO)\n\n" > ) > > modified_content = logging_setup_code + original_content > # write this back to python_file_path > ``` I understand your way, but these are two different libraries, and intrusively modifying user-submitted source files in the top library may not be a good idea. -- 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. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org