MB-20852: ep_unit_tests_main: Show DEBUG logs with -v 88/67888/5
authorDave Rigby <daver@couchbase.com>
Wed, 21 Sep 2016 14:33:18 +0000 (15:33 +0100)
committerDave Rigby <daver@couchbase.com>
Wed, 28 Sep 2016 14:34:06 +0000 (14:34 +0000)
commitf7d01c05bd0aebca218a34cd0926d1be16fce04c
tree4d9f448ab523c7c9a1fce17ecd8ffbf04779fa21
parent9d40b08a2beca6587cba336a0862a53ffb6b74e7
MB-20852: ep_unit_tests_main: Show DEBUG logs with -v

Previously we would only print INFO level log messages when the -v
flag was given, even though the code claimed to have enabled DEBUG
level.

This was because we didn't get the log level early enough - the
extension defaults to INFO, and will propogate that down to ep_engine
(overwriting what we specify). Fix by setting the log level in the
server API to debug.

Change-Id: I8a192169721fad631965600b69975d882b6221f8
Reviewed-on: http://review.couchbase.org/67888
Reviewed-by: Manu Dhundi <manu@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
tests/module_tests/ep_unit_tests_main.cc