Add back missing log4j2 for CLI library

Log4j2 was removed as standard logging implementation, but as an unforeseen consequence, the CLI library doesn't log anymore and produces a warning instead. This should be rectified.