You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "martin-g (via GitHub)" <gi...@apache.org> on 2026/05/11 10:10:11 UTC

[I] CLI/TUI: Use a single logger library [datafusion-ballista]

martin-g opened a new issue, #1683:
URL: https://github.com/apache/datafusion-ballista/issues/1683

   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.
   
   _Originally posted by @martin-g in https://github.com/apache/datafusion-ballista/issues/1670#issuecomment-4419580315_
               


-- 
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-unsubscribe@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] CLI/TUI: Use a single logger library [datafusion-ballista]

Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g closed issue #1683: CLI/TUI: Use a single logger library
URL: https://github.com/apache/datafusion-ballista/issues/1683


-- 
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-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org