Update log format

Change-Id: I5c8673ef713da43802837093753491ca31d07dd2
Make sure we wait for a gearman server

Change-Id: I4cc5f5b6fb50a77116aeede4a450bd8281a5a5a9