Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

smd-pull/push --dry-run way too verbose #6

Open
anarcat opened this issue Apr 25, 2018 · 0 comments
Open

smd-pull/push --dry-run way too verbose #6

anarcat opened this issue Apr 25, 2018 · 0 comments

Comments

@anarcat
Copy link
Contributor

anarcat commented Apr 25, 2018

i have found smd-{pull,push} --dry-run to be quite useful before running the real thing, to figure out if my configuration is okay. this is how I found out that I had forgotten about subscribed folders (#2), for example.

unfortunately, there's a bit of a misfeature in that they will dump the whole list of files to be transfered, by default, on the console. this floods the scrollback buffer and makes it difficult to see the useful stats that precede the dump. for example here are the stats I get in my test setup:

default: smd-client@localhost: TAGS: stats::new-mails(97450), del-mails(0), bytes-received(0), xdelta-received(0)

100k emails! as you might imagine, that creates quite a dump... the resulting logfile is a 7MB text file! would it be possible to have some sort of environment variable or commandline flag to disable that display? I know that i can remove --dry-run to silence that stuff, but it'd still like to keep this in a simulation for now...

thanks!

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

No branches or pull requests

1 participant