Add a logging system, starter and sample for Log4j 2

Closes gh-1565