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

caddy started with -quiet=true option should send no output to stdout with git enabled #434

Closed
grempe opened this issue Dec 13, 2015 · 1 comment

Comments

@grempe
Copy link

grempe commented Dec 13, 2015

I have git enabled in my Caddyfile for a site. If I start caddy with the -quiet=true option I would expect no output on startup at all. But I still see the output of the git initialization every time. The core caddy startup output is the only part that seems to be suppressed.

$ /usr/local/bin/caddy -conf="/home/glenn/www/Caddyfile" -quiet=true
From https://github.com/grempe/www.rempe.us
 * branch            master     -> FETCH_HEAD
Already up-to-date.
2015/12/13 13:34:22 https://github.com/grempe/www.rempe.us.git pulled.
^C

$ /usr/local/bin/caddy -conf="/home/glenn/www/Caddyfile" -quiet=false
Activating privacy features... done.
From https://github.com/grempe/www.rempe.us
 * branch            master     -> FETCH_HEAD
Already up-to-date.
2015/12/13 13:35:28 https://github.com/grempe/www.rempe.us.git pulled.
rp1.rempe.us:https
rp1.rempe.us:http
$ caddy -h
Usage of caddy:
...
  -quiet=false: Quiet mode (no initialization output)
...

I would expect this to quiet all output, not just part of it, from the startup sequence no matter what config options I have provided in the Caddy file for git or any other options.

@abiosoft
Copy link

Can you create the issue here instead. https://github.com/abiosoft/caddy-git/issues.

Thanks.

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

No branches or pull requests

2 participants