Skip to content

Commit

Permalink
Removing the verbose variable
Browse files Browse the repository at this point in the history
Debug logging enabled by using the `debug` variable should
be sufficient for troubleshooting purposes.

The default logging level has increased from -v to -vv

Change-Id: Iad6785f1b445703fcfd84a5582ca81849d70ceed
  • Loading branch information
Travis Truman committed May 24, 2016
1 parent 5c2d8c5 commit c99d1de
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 1 addition & 2 deletions defaults/main.yml
Expand Up @@ -13,9 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

## Verbosity Options
## Logging level
debug: False
verbose: False

## APT Cache Options
cache_timeout: 600
Expand Down
5 changes: 5 additions & 0 deletions releasenotes/notes/remove_verbose_var-c22f4946eedbc5f2.yaml
@@ -0,0 +1,5 @@
---
upgrade:
- The variable ``verbose`` has been removed. Deployers should rely on the
``debug`` var to enable higher levels of memcached logging.

4 changes: 1 addition & 3 deletions templates/memcached.conf
Expand Up @@ -3,10 +3,8 @@
-d
{% if debug | bool %}
-vvv
{% elif verbose | bool %}
-vv
{% else %}
-v
-vv
{% endif %}
logfile {{ memcached_log }}
-m {{ memcached_memory }}
Expand Down

0 comments on commit c99d1de

Please sign in to comment.