[ale] don't 'leak' old compilers in ale's state

Bad thing was use of previous 'version' of compilers dict. Prior to
kill_compiler-produced value.

Change-Id: I09960f24643b8782345ded0eafb32b58611fbd55
Reviewed-on: http://review.couchbase.org/15316
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
[ale] provide api to wait for pending logger compilations

I'm not sure that's best way forward, but that's something we can work
with.

Change-Id: I2a4f0e1f208f3c24c2cddde600efc2fb7f2e7b43
Reviewed-on: http://review.couchbase.org/15317
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
log autofailover settings changes to user-visible log

As suggested by Perry Krug

Change-Id: I97f9feb53189469ec92a8bd4a8946abca611dd68
Reviewed-on: http://review.couchbase.org/15318
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
better log ip config reading and absence of ip config

As requested by Perry Krug. So that config file location is more
visible as well us indication of if we're brand new node or not.

Change-Id: I32235f64bc04a66b26904542555e6621f93e7804
Reviewed-on: http://review.couchbase.org/15319
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
log ns_config loading better

As requested by Perry Krug.

So that we're clearly seeing config loading errors and pathes that are
used.

Change-Id: I43c94accfc153b6e1b01ae2701f23d12704dc4a2
Reviewed-on: http://review.couchbase.org/15320
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
log config changes as info messages

Because it deserves to be seen by mere mortals.

Change-Id: I0c8591b1da804570aea583919c780a819cce385e
Reviewed-on: http://review.couchbase.org/15321
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
log ns_server shutdown

Change-Id: I957a537921710b19729bd01af0e3ea8f92e64e49
Reviewed-on: http://review.couchbase.org/15322
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
better log bucket creations & updates

As requested by Perry Krug.

Particulary we log bucket config updates to user-visible log and we're
logging bucket properties in bucket create log message.

Change-Id: Ia52055a2cac46e196c99640539319fe9e15b3858
Reviewed-on: http://review.couchbase.org/15323
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
made failure to read ns_log during startup less scary

It's common thing during first startup, so noted it. Requested by
Perry Krug.

Change-Id: I8d855a8feb68b1e04f1b923ce035b5653cad29bf
Reviewed-on: http://review.couchbase.org/15324
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
log vbucket state changes as made by node's ns_memcached

Requested by Perry Krug.

Change-Id: Id6e32b32ca93b2d0c37d340270d9bd83649d0d56
Reviewed-on: http://review.couchbase.org/15325
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
log startup message immediately after setting up logging

Change-Id: I031714c5916ca04138fa27914af169b78ea64e57
Reviewed-on: http://review.couchbase.org/15326
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
changed default log file name to info

Because it's info level and higher

Change-Id: I2a64a55a5d6913ac37fcf99e22b1bdb8db624eb8
Reviewed-on: http://review.couchbase.org/15327
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
provide link to grab diag with just info level messages

Change-Id: I7ad291a42e1dc342a51913993de734e489d6deea
Reviewed-on: http://review.couchbase.org/15328
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
log failover start message into user-visible log

Because it can be useful as well

Change-Id: I9d2cbeac1553d29fd90fab2cbe85ec8044a9a3e0
Reviewed-on: http://review.couchbase.org/15329
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
changed errors log file name to error for consistency

Because our other log file names match log levels

Change-Id: I415e9f5c9bcd239cbc140fd16f60ab6cfa5d165b
Reviewed-on: http://review.couchbase.org/15330
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
log which bucket we're rebalancing now

Change-Id: Ib567f57af4e8736794a180ed1dcd98162c1bf425
Reviewed-on: http://review.couchbase.org/15331
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Merge remote-tracking branch 'origin/branch-181' into merge

* origin/branch-181:
  log which bucket we're rebalancing now
  changed errors log file name to error for consistency
  log failover start message into user-visible log
  provide link to grab diag with just info level messages
  changed default log file name to info
  log startup message immediately after setting up logging
  log vbucket state changes as made by node's ns_memcached
  made failure to read ns_log during startup less scary
  better log bucket creations & updates
  log ns_server shutdown
  log config changes as info messages
  log ns_config loading better
  better log ip config reading and absence of ip config
  log autofailover settings changes to user-visible log
  [ale] provide api to wait for pending logger compilations
  [ale] don't 'leak' old compilers in ale's state

Change-Id: I88bc80b2305b87ba8241f6df8eae0057b22e3c3e