Update LOG_STDOUT variable.
Add command line options.