Sanity check to make sure that the log file is non-empty

There was a problem in release 1.2, https://bugs.launchpad.net/oq-engine/+bug/1402550
Tests are running here: https://ci.openquake.org/job/zdevel_oq-engine/929