Redirect the messages from non-daemon tasks to the logging function
Redirect the messages from non-daemon tasks to the logging function

Change-Id: Ie2f8551677984069ca9b3ebb9f453a6157ad13c1
Reviewed-on: http://review.membase.org/3400
Reviewed-by: Dustin Sallings <1c08efb9b3965701be9d700d9a6f481f1ffec3ea@spy.net>
Tested-by: Dustin Sallings <1c08efb9b3965701be9d700d9a6f481f1ffec3ea@spy.net>

teligent-ru/ep-engine,teligent-ru/ep-engine,daverigby/ep-engine,couchbase/ep-engine,couchbaselabs/ep-engine,couchbaselabs/ep-engine,membase/ep-engine,sriganes/ep-engine,hisundar/ep-engine,abhinavdangeti/ep-engine,abhinavdangeti/ep-engine,owendCB/ep-engine,couchbase/ep-engine,couchbaselabs/ep-engine,zbase/ep-engine,abhinavdangeti/ep-engine,couchbase/ep-engine,zbase/ep-engine,daverigby/kv_engine,sriganes/ep-engine,zbase/ep-engine,daverigby/kv_engine,zbase/ep-engine,hisundar/ep-engine,daverigby/ep-engine,membase/ep-engine,membase/ep-engine,teligent-ru/ep-engine,sriganes/ep-engine,owendCB/ep-engine,owendCB/ep-engine,daverigby/ep-engine,abhinavdangeti/ep-engine,daverigby/kv_engine,membase/ep-engine,couchbase/ep-engine,jimwwalker/ep-engine,jimwwalker/ep-engine,teligent-ru/ep-engine,zbase/ep-engine,hisundar/ep-engine,daverigby/ep-engine,daverigby/kv_engine,jimwwalker/ep-engine,couchbaselabs/ep-engine,couchbaselabs/ep-engine,sriganes/ep-engine,owendCB/ep-engine,hisundar/ep-engine,jimwwalker/ep-engine,abhinavdangeti/ep-engine