[ale] Periodically check that we're writing to the same file.
[ale] Periodically check that we're writing to the same file.

This can be used to have external tools like logrotate handle log
rotation.

Change-Id: Ida82eac625b86b7fb09a28391234ea4290f46f12
Reviewed-on: http://review.couchbase.org/37749
Tested-by: Aliaksey Artamonau <3c875bcfb3adf2a65b2ae7686ca921e6c9433147@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>

nimishzynga/ns_server,nimishzynga/ns_server,membase/ns_server,membase/ns_server,mschoch/ns_server,nimishzynga/ns_server,ceejatec/ns_server,ceejatec/ns_server,membase/ns_server,t3rm1n4l/ns_server,nimishzynga/ns_server,ceejatec/ns_server,t3rm1n4l/ns_server,nimishzynga/ns_server,nimishzynga/ns_server,membase/ns_server,mschoch/ns_server,mschoch/ns_server,mschoch/ns_server,t3rm1n4l/ns_server,t3rm1n4l/ns_server,mschoch/ns_server,ceejatec/ns_server,membase/ns_server,t3rm1n4l/ns_server,ceejatec/ns_server,membase/ns_server,ceejatec/ns_server,mschoch/ns_server