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

cmd/syncthing: Use main logger in generate subcommand (fixes #8682) #8685

Merged
merged 1 commit into from
Nov 20, 2022

Commits on Nov 19, 2022

  1. cmd/syncthing: Use main logger in generate subcommand (fixes syncthin…

    …g#8682)
    
    We had some unholy mix of our own logger and the stdlib logger, probably
    because for historical reasons we wanted the device ID to stdout and the
    rest to stderr? But that's not the case any more, and the mix of formats
    is weird. Ideally I think the generate command should be silent and just
    print the device ID and nothing else, but that's tricky to accomplish
    since we have other methods do logging on their own. Hence this just
    harmonizes it so that we at least use the same logger with the same
    format and target...
    calmh committed Nov 19, 2022
    Configuration menu
    Copy the full SHA
    a7a87cd View commit details
    Browse the repository at this point in the history