max icon indicating copy to clipboard operation
max copied to clipboard

[Magic CLI]: Info messages (not even Warnings) constantly being outputed to stderr.

Open comods opened this issue 5 months ago • 0 comments

Issue description

I have to 2> /dev/null to get magic to shut up about Info messages, not even Warning messages. For example "Downloading 60 files." should be sent to stdout.

  1. Send to stdout instead of stderr (> /dev/null should work and 2> /dev/null should not be needed).
  2. -q and --quiet should work
  • With -q do not show any Info messages like "Downloading 60 files" and No-Op messages like "Package already added".
  • With -qq do not show any Warning messages.

Steps to reproduce

These have all given me issues:

magic --no-progress init --mojoproject
magic --no-progress add $name
magic --no-progress project channel add $name
magic --no-progress project channel remove $name

Version Info

Linux x86_64 Ubuntu 20.04.6 LTS
jupyter_client   : 8.6.2
jupyter_core     : 5.7.2
traitlets        : 5.14.3
magic 0.2.2
conda 24.7.1
max 24.4.0 (59977802)
Modular version 24.4.0-59977802-release
mojo 24.4.0 (59977802)
Python 3.11.9

comods avatar Sep 03 '24 11:09 comods