Add log and command line arguments.