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

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

@anarcat

Description

@anarcat

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions