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 SSG "generating" notices #188

Open
efc opened this issue Dec 29, 2024 · 1 comment
Open

Silence SSG "generating" notices #188

efc opened this issue Dec 29, 2024 · 1 comment
Labels
feature request New feature or request

Comments

@efc
Copy link

efc commented Dec 29, 2024

I generate a static site with over 6,000 pages and if I log the output from ssg:generate it ends up being a hefty long log. Plus, these "generating" messages use a cheap trick of outputting shell keystrokes to backspace over the line and print out the next line, which ends up pretty ugly in a log.

Is there any way to silence these "generating" messages? Note, I do like the summary information, so I would rather not just send the output to /dev/null.

If there is no way to handle this now, it would be great to be given a parameter or env variable or something that could tell SSG to be a bit less verbose.

Thanks!

@efc
Copy link
Author

efc commented Dec 29, 2024

I created a pull request with one possible approach at #190

@duncanmcclean duncanmcclean added the feature request New feature or request label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants