Don't unconditionally print the server address to stdout #115

Closed
tibbe opened this Issue Dec 29, 2011 · 3 comments

Comments

Projects
None yet
2 participants
Contributor

tibbe commented Dec 29, 2011

I'm embedding a Snap web server in another app, using the ekg package. It's a bit annoying that Snap prints stuff to stdout every time the app starts. I suggest this is made optional.

Member

jaspervdj commented Dec 29, 2011

Seconded -- I also embed snap in the hakyll library, and output sometimes becomes garbled as snap and hakyll are writing to stdout at the same time. I'll have a look at making this optional in Snap.

Member

jaspervdj commented Dec 29, 2011

Apparently this is already supported -- use Snap.Http.Server.Config.setVerbose for this purpose. Please close the issue if this works out.

Contributor

tibbe commented Dec 29, 2011

Works for me.

@tibbe tibbe closed this Dec 29, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment