Simplify upgrade command.
Add log4j logging.