Output log to stdout by default
Only optimize when doing all ontologies