put back log.h include (shouldn't have removed it)