openshift / geard

geard is no longer maintained - see OpenShift 3 and Kubernetes
Other
405 stars 80 forks source link

Suppress verbose messages from port allocation by default #209

Closed mfojtik closed 10 years ago

mfojtik commented 10 years ago

This will suppress the 'ports' message during gear list-units:

[root@dev vagrant]# gear list-units
ports: searching block 41, 4000-4099
ID                   SERVER  ACTIVE  SUB     LOAD    TYPE

You can turn the messages on just by exporting the 'GEARD_VERBOSE' environment variable. @smarterclayton -> do you think we can use that ENV var on more places, to turn off the debug messages?

smarterclayton commented 10 years ago

Just comment out the debug - the extra lines of code necessary to do the message seems wrong to me.

mfojtik commented 10 years ago

@smarterclayton done.