Add -eventlog option only when necessary.