Add preparser and logging configuration.
Update arguments for logging configuration.