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

Verbosity (Log Level) or anything to make swaks quiter. #97

Closed
Ramalama2 opened this issue Feb 24, 2024 · 2 comments
Closed

Verbosity (Log Level) or anything to make swaks quiter. #97

Ramalama2 opened this issue Feb 24, 2024 · 2 comments
Labels

Comments

@Ramalama2
Copy link

Hi, is there a way to make swaks quiter?

For example:
im using swaks inside a script to email excel row changes, (as html), its works perfectly fine, and the default logging is helpful in cases if it cannot send the email, at least you know then why.

but swaks echoes the whole body content, which can be sometimes thousands of lines.
i dont even see what usecase there is even to echo the whole body, not even for debugging purposes.

is there any way to make swaks quiter?
i mean i can make it completely shut up in my scrips with
swaks ........... > /dev/null 2>&1

but thats not really a great solution.

@jetmore
Copy link
Owner

jetmore commented Feb 25, 2024

Did you look at the docs at all? There are so many options for this it's almost silly to quote them here. There's an entire section of the docs on controlling the output (https://github.com/jetmore/swaks/blob/develop/RELEASE/doc/ref.txt, OUTPUT OPTIONS). Just to name a few, --suppress-data, --hide-*, and --silent [level] are all relevant to your question

@Ramalama2
Copy link
Author

Did you look at the docs at all? There are so many options for this it's almost silly to quote them here. There's an entire section of the docs on controlling the output (https://github.com/jetmore/swaks/blob/develop/RELEASE/doc/ref.txt, OUTPUT OPTIONS). Just to name a few, --suppress-data, --hide-*, and --silent [level] are all relevant to your question

Thanks for the clarification, i didn't readed the docs, but the manpages of ubuntu etc.
im sorry, its super stupid that i overseen that.
thanks for the reply!

Cheers :-)

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

No branches or pull requests

2 participants