Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pipeline logging configuration needed #1019

Open
echeipesh opened this issue Oct 1, 2020 · 0 comments
Open

pipeline logging configuration needed #1019

echeipesh opened this issue Oct 1, 2020 · 0 comments

Comments

@echeipesh
Copy link
Contributor

When running Raster Vision pipelines the python logging is configured only for the Raster Vision module. This is particularly a problem for Raster Vision pipelines that run on AWS batch where the lack of configuration effectively suppresses all log output from pipeline stages.

Since at this point Raster Vision owns the execution of the pipeline, its both the entry point and the source of the command that is running on as AWS Batch job, it should provide a way to configure logging.

Two additional options would be helpful:

--global-log-level that invokes logging.basicConfig as part of reading RVConfig

--logging-config that reads/copies logging.conf file and invokes logging.config.fileConfig as part of reading RVConfig

The second option would be useful for debugging troublesome jobs when you'd want to turn the log chattiness deferentially for a particular module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants