change herk.log to megamd.log