martin-g commented on PR #1670: URL: https://github.com/apache/datafusion-ballista/pull/1670#issuecomment-4419580315
We have discussed this one some time ago. Before it was panicking to install tracing, now it just prints to stderr. The problem is that the CLI app uses `env_logger` to log to stderr/stdout but since the TUI app paints on the terminal I use the `tracing` crate to log to a file instead. Neither `log` nor `tracing` have APIs to uninstall the global logger they install :-/ So, we need to start using just one logger for both CLI and TUI. I will see whether the `tracing` crate provides a way to use a subscriber dynamically - if TUI then log to a file else log to stdout. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
