fixes #2: support logs when parsing options