Write to both log and stdout