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

Silence verbose output when VERBOSE environment variable is not set #1233

Open
yqxk opened this issue Jan 31, 2023 · 1 comment · May be fixed by #1282
Open

Silence verbose output when VERBOSE environment variable is not set #1233

yqxk opened this issue Jan 31, 2023 · 1 comment · May be fixed by #1282

Comments

@yqxk
Copy link

yqxk commented Jan 31, 2023

Hello,

I sometimes run appimages in docker containers, which do not allow mounting of filesystems by default, so I run them with

APPIMAGE_EXTRACT_AND_RUN=1 NO_CLEANUP=1 <path to appimage>

After the first execution, subsequent runs produce many lines of "File exists and file size matches, skipping". It would be nice if we could silence these informational messages (redirecting stderr to /dev/null is not ideal as this also redirects error messages from the bundled app).

This string is output here, and the function this lives in already has access to a verbosity flag here; so it looks reasonably straightforward to implement it. Would this be possible?

Thanks for your work on this!

@TheAssassin
Copy link
Member

PRs welcome refactoring the logging.

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

Successfully merging a pull request may close this issue.

2 participants