Allow callers to override --logfile